Fixed rounding bug in sdtoa()