Comment by henning

Comment by henning 10 months ago

2 replies

Ah, what better input format than JSON, a poorly defined, ambiguous format that freely mixes integers and floating points and lacks supports for bigints and bigdecimals.

monero-xmr 10 months ago

In cryptocurrency the decimals are often a range between 8 and 18 decimals, sometimes much larger. The solution is always to use strings, and have separate fields or data models that explain the precision. The amount of languages and libraries, for tradfi or anything, is so wide that actually trying to use something other than strings for passing data between systems and applications would be self destructive

darby_nine 10 months ago

It's only ambiguous if you let it be. The rest is just implementation details.