Chapter Contents

Previous

Next
NUMXw.d

NUMXw.d



Reads numeric values with a comma in place of the decimal point

Category: Numeric


Syntax
Syntax Description
Details
Comparisons
Examples
See Also

Syntax

NUMXw.d

Syntax Description

w
specifies the width of the input field.
Default: 12
Range: 1-32

d
optionally specifies the number of digits to the right of the decimal. If the data contain decimal points, the d value is ignored.
Range: 0-31


Details

The NUMXw.d informat reads numeric values and interprets a comma as a decimal point.


Comparisons

The NUMXw.d informat is similar to the w.d informat except that it reads numeric values that contain a comma in place of the decimal point.


Examples

input @1 x numx10.;

Data Lines Results
----+----1----+

896,48
896.48
3064,1
3064.1
6489
6489


See Also

Formats:

NUMXw.d
w.d


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.