Class PrecisionEvaluate
java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.math.PrecisionEvaluate
-
Field Summary
Fields inherited from class ortus.boxlang.runtime.bifs.BIF
__functionName, __isMemberExecution, asyncService, cacheService, componentService, declaredArguments, functionService, interceptorService, moduleService, runtime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke
(IBoxContext context, ArgumentsScope arguments) Evaluates one or more string expressions using BigDecimal precision arithmetic.Methods inherited from class ortus.boxlang.runtime.bifs.BIF
announce, getDeclaredArguments, invoke
-
Constructor Details
-
PrecisionEvaluate
public PrecisionEvaluate()Constructor
-
-
Method Details
-
_invoke
Evaluates one or more string expressions using BigDecimal precision arithmetic. If the results ends in an infinitely repeating decimal value only the first 20 digits of the decimal portion will be used. BigDecimal precision results only work with addition, subtraction, multiplication and division. The use of ^, MOD, % or \ arithmetic operators will result in normal integer precision.
-