Rouding issue [message #274943] |
Wed, 17 October 2007 16:39  |
ocon
Messages: 4 Registered: October 2007 Location: LONG BEACH
|
Junior Member |
|
|
Hi,
I have a table with a column data type Numeric (8,2).
When a value going into this column is higher than 10,000.00 when doing an insert the system automatically rounds the amount.
It seems that there is an implied rounding. This automatic rounding is causing a variance that I am trying to prevent. Can you please let me know how I can stop this rounding?
Thanks so much
Ocon
|
|
|
|
|
|
|
Re: Rouding issue [message #275158 is a reply to message #274960] |
Thu, 18 October 2007 10:41   |
ocon
Messages: 4 Registered: October 2007 Location: LONG BEACH
|
Junior Member |
|
|
Thank you for your input.
It continues to round even when I only use data type number without specifying any number for the precision. Would it be possible that is has to do with the settings of oracle database?
I welcome any other ideas that could be causing this unwanted rounding.
Thanks so much.
|
|
|
|
Re: Rouding issue [message #275173 is a reply to message #275158] |
Thu, 18 October 2007 12:26   |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
ocon wrote on Thu, 18 October 2007 11:41 |
It continues to round even when I only use data type number without specifying any number for the precision.
|
I tend to think you are either using some third party tool to view or you have an output mask on your column with the COLUMN clause.
|
|
|
Re: Rouding issue [message #275184 is a reply to message #275173] |
Thu, 18 October 2007 12:52   |
ocon
Messages: 4 Registered: October 2007 Location: LONG BEACH
|
Junior Member |
|
|
Yes,you are right. The insert is done by Oracle Warehouse Builder. The table column is defined as data type number (8,2).
In the mapping this field properties are:
Data Type - number
Precision - 8
Scale - 2
I do not where else to look? Any ideas?
Thanks
|
|
|
|
Re: Rouding issue [message #275391 is a reply to message #275185] |
Fri, 19 October 2007 13:48  |
ocon
Messages: 4 Registered: October 2007 Location: LONG BEACH
|
Junior Member |
|
|
Thanks for your suggestions.
I found out that it had to do with the data. When data source is
a access file I have the rounding issue when I insert to the the table. When the data source is ASCII file then there is no problem.
I appreciate your help! Thanks
|
|
|