Questions tagged [precision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
1k 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
558 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 ...