Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pindi
on Jan 13, 2013
|
parent
|
context
|
favorite
| on:
Be careful with JS numbers
They do, you just have to request it:
//Python >>> repr(1000000 * 8.2) '8199999.999999999' >>> "%lf" % (1000000 * 8.2) '8200000.000000'
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: