I have a column in a T-SQL database that consists of real values, but when I convert it to double I get something different than what was stored.
For example, I pick one row which has 1.15 stored. When I convert it with:
Convert.ToDouble(reader["VAT"]);
I get:
1,14999997615814
Why? And how do I convert a real to double and recieve the same value?