Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Tainnor
on June 29, 2021
|
parent
|
context
|
favorite
| on:
JavaScript Is Weird
Non-decimal currencies have existed in the past and there are still some remnants:
https://en.wikipedia.org/wiki/Non-decimal_currency
JoshuaDavid
on June 29, 2021
[–]
Yes, that's a good point. If you try to use decimal for those currencies, you are in for a very similar world of pain as you are by using floats for decimal currencies.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: