References > References > Valid formats for Custom Table data > Valid custom numerical formats

Valid custom numerical formats

If you are creating a custom table, the following table provides valid entries for the Custom Format option, using an original data value of 12.34567:

Note: For a comprehensive table of valid custom date and time specifiers, see the reference about Custom Date and Time Format Strings on the Microsoft Developer Network.

Entry

Description

Example

{0} unit/%

Returns the unrounded original numerical value

12.34567 bps or 12.34567 %

{0:0.00} unit/%

Returns the original numerical value, rounded to the indicated number of decimal places

12.35 bps or 12.35 %

0.000

Returns the original numerical value as a text string, rounded to the indicated number of decimal places

12.346

0.00' bps'

Returns the original numerical value as a text string, rounded to the indicated number of decimal places, concatenated with the string indicated in quotes.

12.35 bps