Hi there,
I have an issue reading back a Double value from a MySQL database via the C# connector (v8.0.16).
When using MySQL Workbench (8.0.16) the value is read back correctly with no loss of digits after the decimal place - 0.00000009690000000000001
When read back using the C# connector, I cannot get the exact same value via MySqlDataReader:
reader.GetDouble - 9.6900000000000014E-08
reader.GetDecimal - 0.0000000969
How can I get the exact same value as displayed by MySql Workbench?
Regards,
Andrew
I have an issue reading back a Double value from a MySQL database via the C# connector (v8.0.16).
When using MySQL Workbench (8.0.16) the value is read back correctly with no loss of digits after the decimal place - 0.00000009690000000000001
When read back using the C# connector, I cannot get the exact same value via MySqlDataReader:
reader.GetDouble - 9.6900000000000014E-08
reader.GetDecimal - 0.0000000969
How can I get the exact same value as displayed by MySql Workbench?
Regards,
Andrew