What is Nostr?
Cendyne /
npub1azc…athr
2024-04-04 17:54:43

Cendyne on Nostr: APIs that encode monetary values as doubles (or specifically with a decimal point) ...

APIs that encode monetary values as doubles (or specifically with a decimal point) give me the heebie jeebies. Would you like to add 1.1 enough times to eventually get a number with a third decimal place?

Google does nano-dollars as a full number and it stays within the 2^53 limit of doubles. I can respect whole numbers over json.
Author Public Key
npub1azck705gkuv24thygyluekr2mpw6e77zep72tvkukgce94r220eqqnathr