FloatTolerance v.1.000
by Rick Wilson
unavailable
free
description For Developers - Adds method "=~" to Float class to check for equality within tolerance

usage FloatTolerance adds a new method to the Float class to check for equality within a tolerance.

float=~float2
default tolerance to 4 decimal places, or
float.=~(float2,tolerance)
specify tolerance as an integer multiple of 10

Example:

float1=3.0000323
float2=3.0000327
float1=~float2 true
float1.=~(float2,10000000) false


see also other plugins by Rick Wilson:

notice By downloading and installing this plugin, you indicate that you have read and agree to the terms and conditions of the End-User License Agreement (EULA). Prices subject to change.