The type of the options container.
Creates an instance with base formatting options and initializes an options provider that resolves concrete format options.
A numeric options provider constructor which will be used to resolve options.
An instance that can provide custom numeric format information.
A base options object that can be overridden by resolved options.
Applies all resolved format options to the number.
The number to format.
A resulting format value with applied format options.
Converts the number to an equivalent string representation using specified format and culture formatting information.
A format string containing formatting specifications.
The number to format.
The formatted numeric value.
The currency format is not supported by this basic instance.
The decimal format converts a number to a string of decimal digits (0-9), prefixed by a minus sign if the number is negative.
The exponential format converts a number to a string of the form "-d.ddd…E+ddd" or "-d.ddd…e+ddd".
The fixed-point format converts a number to a string of the form "-ddd.ddd…" where each "d" indicates a digit (0-9).
The general format converts a number to the most compact of either fixed-point or scientific notation, depending on the type of the number and whether a precision specifier is present. Fixed-point notation is used if the exponent that would result from expressing the number in scientific notation is greater than -5 and less than the precision specifier; otherwise, scientific notation is used.
The hexadecimal format converts a number to a string of hexadecimal digits.
The numeric format converts a number to a string of the form "-d,ddd,ddd.ddd…", where "-" indicates a negative number symbol if required, "d" indicates a digit (0-9), "," indicates a group separator, and "." indicates a decimal point symbol.
The percent format multiplies a number by 100 and converts it to a string that represents a percentage.
The round-trip format is used to ensure that a numeric value that is converted to a string will be parsed back into the same numeric value.
Generated using TypeDoc
Base formatter implementation that applies raw culture information formatting to a numeric value.