floating point formatting
Hello,
i have a question regarding floating point formatting.
I have no problems with formatting the folling floating point:
1234.123456 using %4.4f -> i get 1234,1345 (decimal separator=',')
I want to get rid of the following:
1234 -> i get 1234,0000
How can i display 1234 instead of 1234,000 ?
This is not a problem but it looks better....
i have a question regarding floating point formatting.
I have no problems with formatting the folling floating point:
1234.123456 using %4.4f -> i get 1234,1345 (decimal separator=',')
I want to get rid of the following:
1234 -> i get 1234,0000
How can i display 1234 instead of 1234,000 ?
This is not a problem but it looks better....
Comments
My favorite is 0.## for most of the cases