strip trailing zeros only from fractional part, not from exponent