Added format_number method to formet numbers into the .## notation