Problem Note 35682: The NLMNY format does not produce a space between a value and the dollar sign
The French Canada standard for writing currency values is the currency amount followed by a space and a dollar sign. Here is an example:
13032323 $
In SAS 9.2 TS1M0, the value is written correctly.
In SAS 9.2 TS2M0, the space is not generated.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M2 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS2M2 | 9.3 TS1M0 |
Windows Vista | 9.2 TS2M2 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.2 TS2M2 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M2 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.2 TS2M2 | 9.3 TS1M0 |
HP-UX IPF | 9.2 TS2M2 | 9.3 TS1M0 |
Linux | 9.2 TS2M2 | 9.3 TS1M0 |
Linux for x64 | 9.2 TS2M2 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS2M2 | 9.3 TS1M0 |
Solaris for x64 | 9.2 TS2M2 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The NLMNY format writes monetary amounts per the locale setting.
options locale=french_canada;
data a;
x=13032323;
put x=nlmny11.2;
run;
This is correct output
x=13032323 $
This is incorrect output
x=130 323,23$
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> Formats ==> Numeric ==> NLMNY
|
Date Modified: | 2011-06-01 13:09:39 |
Date Created: | 2009-04-24 13:15:37 |