Switch default precision to one more than the number of digits allows.
See, e.g., http://stackoverflow.com/questions/4738768/printing-double-without-losing-precision.
Showing
Please
register
or
sign in
to comment
See, e.g., http://stackoverflow.com/questions/4738768/printing-double-without-losing-precision.