Skip to main content

PrecisionSum

PrecisionSum Function​

Returns the sum of value in the specified vector. The return value is guaranteed to be precise up to the specified number of digit. This function is useful for currency calculation.

Syntax​

PrecisionSum(vector Column, scalar Precision)

Arguments​

ArgumentDescription
scalar PrecisionA number of precision digit

Examples:

PrecisionSum([FusionTestTable.DoubleColumn], 2)

Returns the sum that is precise up to 2 digits.