PrecisionEvaluate

Evaluates one or more string expressions using an increased memory size for arithmatic operations. This improves the accuracy of floating point calculations. For more details, see this video explanation: https://www.youtube.com/watch?v=g7A8OFi1mdU.

Returns: any

Usage

PrecisionEvaluate( )

Arguments

This function takes zero or more dynamic arguments. See examples for details.

Examples

dump( ( 59+10.99 ) * 100 );                        // 6998.999999999999
dump( PrecisionEvaluate( "( 59+10.99 ) * 100" ) ); // 6999

See also