Evaluates one or more string expressions using an increased memory size for arithmetic operations. This improves the accuracy of floating point calculations. For more details, see this video explanation:

The expression(s) must be passed as strings, to avoid large numbers being converted to normal cfml numbers (which have limits on the their precision) before they are evaluted.

PrecisionEvaluate( );

Returns: any

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


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

See also