OracleDataReader[columnName] return wrong decimal places

Viewed 35

I have a table which has a Column defined as 'Number(18,3)'. Then I insert 123.123 value for this column.

When I select it in 'Oracle Sql Developer', it shows correctlly. (123.123)

But if I read it in c# by using OracleDataReader of the ODP.NET, it will return '123.1230'. I did not understand this behavior.

Screenshoot

0 Answers
Related