Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I used Oracle SQL Developer to import data from an Excel file. Two of the fields were set as NUMBER(13,5). However, the results show that the numeric data in the 2 fields contain only 3 decimals, rather than 5. How can this problem be fixed? Thanks.
Posted
Comments
[no name] 18-Aug-15 13:20pm    
Maybe only a Thing of trailing Zero question?
Some disussion here: http://www.blackwasp.co.uk/DecimalTrailingZeroes.aspx[^]
CHill60 19-Aug-15 7:36am    
Are the numbers so large that it's had to round the decimals to include the number e.g. 1234567890.4567 becomes 1234567890.457?
Can you use NUMBER(*,5) instead?
It could be a case that you have something like 12345.12300123 in the excel file (ignoring any formatting in excel) which would come out as 12345.123.
Try posting some examples
Jörgen Andersson 21-Aug-15 3:01am    
What data types are those fields in the Excel sheet?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900