Re: sprintf() precision arbitrarily at six decimal places?
- Posted by euphoric (admin) Apr 29, 2019
- 1630 views
_tom said...
"Slide-rule accuracy" should be enough for everyone.
This might be true.
However, we need at least documentation saying that printf() and sprintf() will arbitrarily lop off the numbers after 6 decimal places.
Best case scenario: The number I feed to printf()/sprintf() is actually returned in its entirety! Is it too late to change this?