SCALE Function

Purpose

Returns a floating-point value that has the base, mode, and precision of x by multiplying a floating-point number by an integral power of the radix based on the following formula:

x*(radix(x) )n

Syntax

SCALE(x,n)

Parameters

x
A FLOAT expression.
n
An expression that is converted to FIXED BINARY (31,0), and has a computational type.

Restrictions

None.