On 9/27/05, Janis Braslins <[EMAIL PROTECTED]> wrote: > > I've encountered a rather bizarre VS.NET <http://VS.NET> 2003 behaviour. > > // When debuggin this code, val variable value in > watch window is 1.1300000000000001 !?!!?!??! > // yet console output shows correct value = 1.13 >
On x86 processors, floating points are inherently imprecise at that many decimal places. That's just the way it is, unfortunately. -- Steve Johnson =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
