المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Mutiplication error?



C# Programming
12-14-2009, 03:51 PM
When I do something simple like:

double result = 3.1 * 4.1;

I get the result = 12.709999999999999;

Is this to be expected for such a simple calculation??