PRECISION

PRECISION returns the value of x, with a precision specified by p and q. The base, mode, and scale of the returned value are the same as that of x.

Read syntax diagramSkip visual syntax diagramPRECISION( x, p, q)

Abbreviation: PREC

x
Expression.
p
Restricted expression. p specifies the number of digits that the value of the expression x is to have after conversion.
q
Restricted expression specifying the scaling factor of the result. For a fixed-point result, if q is omitted, a scaling factor of zero is the default, and if not omitted, it must be nonnegative. For a floating-point result, q must be omitted.