Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
RedShift1
on Sept 16, 2024
|
parent
|
context
|
favorite
| on:
How to Send a Swift Wire for Developers
That seems super dumb indeed. I really wish JSON had an actual decimal type, we already have valid "e" notation (like 10e2), why not have a "d" notation, like 5d3 (meaning 5.3) or 5.3d.
wiktor-k
on Sept 16, 2024
|
next
[–]
Yes! Something similar to
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
svapnil
on Sept 16, 2024
|
prev
[–]
All amounts in this library are in base units (whole numbers) and no arithmetic is used!
For financial calculations I recommend using Dinero.js
RedShift1
on Sept 16, 2024
|
parent
[–]
So 1 euro is written as 100?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: