![]() | ![]() | ![]() | ![]() | ![]() |
When you write numeric values to Oracle, you might encounter precision loss.
For example, you might encounter this problem when you perform steps similar to the following:
This loss of precision is typical of floating-point arithmetic. Base SAS® uses an IEEE double format (8 bytes) to save numeric values. This format does not specify exact values, and it supports precision up to 15 digits.
For example, with this format, 104.88 in Oracle might be read into SAS as 104.879999999999995. When writing the SAS value back to Oracle with format NUMERIC(16,2), SAS incorrectly truncates the value to 104.87.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Federation Server | Microsoft® Windows® for x64 | 4.2 | 9.4 TS1M3 | ||
Microsoft Windows 8 Enterprise 32-bit | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8 Enterprise x64 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8 Pro 32-bit | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8 Pro x64 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8.1 Enterprise 32-bit | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8.1 Enterprise x64 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8.1 Pro 32-bit | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 8.1 Pro x64 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows 10 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2008 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2008 R2 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2008 for x64 | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2012 Datacenter | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2012 R2 Datacenter | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2012 R2 Std | 4.2 | 9.4 TS1M3 | ||||
Microsoft Windows Server 2012 Std | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Enterprise 32 bit | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Enterprise x64 | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Home Premium 32 bit | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Home Premium x64 | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Professional 32 bit | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Professional x64 | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Ultimate 32 bit | 4.2 | 9.4 TS1M3 | ||||
Windows 7 Ultimate x64 | 4.2 | 9.4 TS1M3 | ||||
64-bit Enabled AIX | 4.2 | 9.4 TS1M3 | ||||
64-bit Enabled Solaris | 4.2 | 9.4 TS1M3 | ||||
HP-UX IPF | 4.2 | 9.4 TS1M3 | ||||
Linux for x64 | 4.2 | 9.4 TS1M3 | ||||
Solaris for x64 | 4.2 | 9.4 TS1M3 |