in reply to round up digits in numbers

sprintf is your friend.