Decimal precision lost after calculations
Calculations using numbers with large number of digits to the right of the decimal indicator, are truncating the result values to fewer decimal digits.
And also loosing the result precision which is required by the application.
No error messages.
Steps to Reproduce
- Execute an activity which uses the @Divide(dividend,divisor) form of the function.
- Review the result returned by the function.
The Divide function determines a default precision of the function result. Sometimes, the default precision is not the precision which is required by the application.
When the default is not satisfactory, use the @Divide(dividend, divisor, scale) form of the function where the scale specifies the desired result precision.
100% found this useful