Returns the number of decimal digits for a variable currency field or variable.
scale(vcurrency)
• vcurrency – A variable currency field or variable.
An integer containing the number of digits.
For variable currency fields, the scale value returned is based on the decimals setting of the underlying data type. For variable currency variables, the value returned is based on the value stored in the field. For currency fields or variables, the value returned is always 5.