Truncation in OracleNumber.Parse()
Posted: Thu 21 Oct 2021 08:22
We have some code which is reading data in string form from a file, which was dumped out of an Oracle DB, using as much precision as the database could support. So, for example:
`var o = OracleNumber.Parse("3.1415926535897932384626433832795028842E0")`
However, there's some truncation going on because `o.Value = 3.14159265358979` (only the first ten bytes of o.BinData are populated). I can't find much information around `OracleNumber.Parse(string, format)` and whether that could be a solution?
`var o = OracleNumber.Parse("3.1415926535897932384626433832795028842E0")`
However, there's some truncation going on because `o.Value = 3.14159265358979` (only the first ten bytes of o.BinData are populated). I can't find much information around `OracleNumber.Parse(string, format)` and whether that could be a solution?