When using std::to_string with a float that for example has the value 3.14f
it yields in a string looking like this: 3.140000
Is it possible to prevent the generation of the unnecessary zeros in the back?
When using std::to_string with a float that for example has the value 3.14f
it yields in a string looking like this: 3.140000
Is it possible to prevent the generation of the unnecessary zeros in the back?