The PRECISION function takes a single decimal number parameter and returns its precision. This is the number of digits after the decimal. The function supports string, integral number and decimal number return types for this precision value. The parameter to it is always evaluated as a decimal number.
@PRECISION (Decimal) | |
---|---|
Decimal | Required decimal number parameter; contains the value whose
precision is to be returned by the function, i.e. the number of
digits after the decimal. |