ZONED

Returns a zoned decimal representation of a number.

The first argument must be a number. The second argument is optional and must be in the range of 1 to 31. The third argument is also optional and must be in the range of 0 to p, where p is the second argument. Omitting the third argument implies a specification of 0.

Example:

Assume column Z1 has a value of 1.123.

      ZONED(Z1,15,14)

Returns the value 1.12300000000000.