Returns the total number of digits available for a variable currency field or variable.
precision(vcurrency)
• vcurrency – A variable currency field or variable.
An integer containing the number of digits.
For variable currency fields, the precision value returned is based on the storage size of the underlying data type. The value returned is computed according to this formula:
(2 x Storage Size) - 1
For variable currency variables, the value returned is always 23. For currency fields or variables, the value returned is always 19.