Skip to main content

Mysterious maths in Netbeans debugger

No replies
inoxidotos
Offline
Joined: 2009-05-20

Hi all,

If I execute:

double d = 0.1 * 0.1;

in Netbeans debugger, instead of 0.01 I get 0.010000000000000002

Can anyone explain this ?

Thanks