O
OMC
does anyone know how to stop the rounding when trying to format a decimal?
if I have a value of 9.9999
and I want to format this with a maximum of 3 decimal places, when I use the
"%4.3lf" format specification, I find the number gets rounded up to 10.
Is there any way to get 9.999 ?
Thanks in advance,
Dave
if I have a value of 9.9999
and I want to format this with a maximum of 3 decimal places, when I use the
"%4.3lf" format specification, I find the number gets rounded up to 10.
Is there any way to get 9.999 ?
Thanks in advance,
Dave