U
Uri Tidhar
Hello,
I've got a small and probably naive question.
I have two variables of data type double.
Let's say:
x == 4340999.99;
y == 4300000;
When you do x-y in Calc for example, you get: 40999.99
But when you do it in C# you get: 40999.990000000224
Huh? Why? How can I get the exact result without using Math.Round()?
Thanks
I've got a small and probably naive question.
I have two variables of data type double.
Let's say:
x == 4340999.99;
y == 4300000;
When you do x-y in Calc for example, you get: 40999.99
But when you do it in C# you get: 40999.990000000224
Huh? Why? How can I get the exact result without using Math.Round()?
Thanks
