Fix the cases like sprintf("%+.1f", -0.01), which incorrectly gets "+-0.0".