title: Javascript floating point addition giving wrong result
body: <p>When I tried <code>0.1 + 0.2</code> in my JavaScript code, I'm getting the result <code>0.30000000000000004</code>. I was expecting <code>0.3</code> as the result. Can anyone tell me why this is happening? Also, how can I work around this to get the result <code>0.3</code>?</p>