NUMXw.d Format

Writes numeric values with a comma in place of the decimal point.
Category: Numeric
Alignment: right

Syntax

NUMXw.d

Syntax Description

w
specifies the width of the output field.
Default:12
Range:1–32
d
specifies the number of digits to the right of the decimal point (comma) in the numeric value. This argument is optional.
Default:0
Range:0–31

Details

The NUMXw.d format writes numeric values with a comma in place of the decimal point.

Comparisons

The NUMXw.d format is similar to the w.d format except that NUMXw.d writes numeric values with a comma in place of the decimal point.

Example: Examples

put x numx10.2; 
Value of x
Result
----+----1----+
896.48
    896,48
64.89
     64,89
3064.10
   3064,10

See Also

Formats:
Informats: