Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For C# i see a different behaviour as in his example. double test = 0.1 + 0.2; //will be 0.30000000000000004 if you check in the Debugger Debug.Print(test.ToString());//will print 0.3


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: