logoalt Hacker News

woriklast Saturday at 10:57 PM2 repliesview on HN

> JS engines treat numbers as 53 bit signed floats

Please do not use Javascript for finance applications. Just do not do it

Save it for user interface elements and dancing whizzimagigs, where it will do less harm.


Replies

lxgryesterday at 6:35 PM

Financial applications need user interface elements too, and doing these poorly has caused quite some [1] harm in the past...

[1] https://financialregulation.linklaters.com/post/102j8af/the-...

zdragnarlast Saturday at 11:24 PM

Excel does the same thing, and has been used to track money for decades. Somehow, we're all still alive.