in reply to formatting numerical output

Check out Rounding. Search is your friend; please use it next time.