Open dykstranet opened 9 years ago
Example 1:
If calculated exchange value is .87654321, returned value would be .87654300.
Example 2:
If calculated exchange value is .11111111, returned value would be .11111200
So we are rounding up at the 6th decimal place.
Adding this feature will help us to begin thinking in "bits" Bitcoin Units
One could think of this enhancement as price rounding to the nearest "bit"
It would be better to round the last 2 digits to 0s in order to prevent dust. It's also easier to read.