C
CJ
This is a really silly question, but I just can't get it right.
I have a double; the value is 0.00003025. I want to display it exactly
as it stands, but by default it is displayed in scientific notation.
I've tried specifying the format as "G", "R", "F", whatever; none of
them gives me the result I want. The closest is "N", but then I have
to specify the number of digits/decimals that I want to display, and
this may vary - now the value is 0.00003025, next time it may be 0.02
and then I don't want it to display as 0.02000000!
I have a double; the value is 0.00003025. I want to display it exactly
as it stands, but by default it is displayed in scientific notation.
I've tried specifying the format as "G", "R", "F", whatever; none of
them gives me the result I want. The closest is "N", but then I have
to specify the number of digits/decimals that I want to display, and
this may vary - now the value is 0.00003025, next time it may be 0.02
and then I don't want it to display as 0.02000000!