SCALE

SCALE multiplies a floating-point number by an integral power of the radix.

SCALE returns a floating-point value based on the following formula:

The result has the base, mode, and precision of x.

Read syntax diagramSkip visual syntax diagram
>>-SCALE(x,n)--------------------------------------------------><

x
REAL FLOAT expression.
n
Expression. It must have a computational type and is converted to FIXED BINARY(31,0).





Published: 23 December 2018