Number formats are used to determine how to display and parse numbers values, converting between internal floating point or integer representations and text. For example, the number 1234.5678 could be formatted as shown, but it may be preferred to be viewed as '1,234.6', or '1 234,567', or '1.2345678E3' depending upon the context and the value's semantics. The same patterns can be used to format a value for display as well as parsing text input into numeric values.
Number formatting in Mango is implemented by the DecimalFormat Java class, the details for which can be found here. Some common patterns are provided below for convenience.
Formatting may be localized depending upon your Java VM defaults.