Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [precision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Rounding in BTC exchanges

Does anyone know whether exchanges usually round values or truncate them instead? Different exchanges support different resolutions for prices and amounts. For instance, BTC China supports 2 ...
5
votes
1answer
566 views

Prevent rounding errors when displaying bitcoin values in javascript

What is the correct way to prevent Floating Point Precision errors when displaying bitcon values in javascript? I've seen many answers on the topic, but they all seem to have their drawbacks. Here's ...