tiny revision on DoubleToString