User Tools

Site Tools


xrpl:approximately

This is an old revision of the document!


approximately

ArgumentsResultNotation
number number bool [number number- bool]

Description

Takes two floats and returns True if they equal, regardless of floating point jitter. <a href=“http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Approximately.html”></a>

Examples

if (approximately(1.000001 1)) 
	trace("1.000001 is approximately equal to 1") 
endif 
xrpl/approximately.1551647644.txt.gz · Last modified: 2019/03/03 16:14 by Karsten75