Questions tagged [precision]
The precision tag has no usage guidance.
3
questions
3
votes
3
answers
418
views
What is the numeric precision of Network Difficulty?
My understanding is that Difficulty (aka Network Difficulty) is an approximate representation of the Target, a 256-bit number which is hard to reason about or work with in human-readable Decimal ...
2
votes
1
answer
3k
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 ...
6
votes
1
answer
992
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 ...