Printer Version Table of Contents Project Home Page
.BASIC_TYPE..: &Number
.DESCRIPTION.:
A number, a numeric value.

The LENGTH argument specifies the total number of

significant digits.

The DECIMALS argument, if present, specifies the number of

fractional digits.

EXAMPLE: &NUMBER(5,2) indicates a number composed of 5 decimal digits,

two of which are to the right of the decimal point.

The largest value that such a number can store is 999.99.

.ARGUMENTS...: Length [Decimals]
   if Decimals = "" then Decimals = 0

.PLATFORM....: SYBASE
   /* allow for decimal point in a string representation of a number */
   if Decimals \= 0 then length = length + 1
   datatype = "char" paren(length)

.END_PLATFORM: