I
Ingo Nolden
Hello,
I want to format floats ( doubles ) into small strings of 7 characters.
I tried to use std:stream, but I don't get the desired behaviour.
Especially in scientific notation I am not comfortable with things like
e+007. This is wasting 2 digits for the two zeros.
I didn't try boost::format, because it doesn't seem to me it will make
any difference on this. At least the documentation doesn't point it out.
Does anyone know a good way?
Ingo
I want to format floats ( doubles ) into small strings of 7 characters.
I tried to use std:stream, but I don't get the desired behaviour.
Especially in scientific notation I am not comfortable with things like
e+007. This is wasting 2 digits for the two zeros.
I didn't try boost::format, because it doesn't seem to me it will make
any difference on this. At least the documentation doesn't point it out.
Does anyone know a good way?
Ingo