how to avoid "-0" when converting float to string?
when I convert floats to string like in this example, often I get "-0" as a value. Does anyone know a simple way to convert these to positive zero?
this is for serialization purposes, so I'd like to avoid some heavy checks just to avoid -0
this is for serialization purposes, so I'd like to avoid some heavy checks just to avoid -0