Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Oracle reader

$
0
0

In oracle DB we have value as 98.01605

reader.GetOracleNumber(reader.GetOrdinal("value"))

{98.01605}

    IsNull: false

    Value: 98.01605

When we try to conver to double  we are getting level as 98.016049999999993. why we are seeing this behaviour?

(double) reader.GetOracleNumber(reader.GetOrdinal("value"))

98.016049999999993


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>