Adjust the final value just when the number has radix point.

Signed-off-by: Pengfei Han <hanpfei@gmail.com>