rounding towards 0 if the number is too small

rounding towards 0 if the number is too small