The options for creating a fixed format function.

interface IOptions {
    digits?: number;
    missing?: string;
}

Properties

Properties

digits?: number

The number of digits to include after the decimal point.

The default is determined by the user agent.

missing?: string

The text to use for a null or undefined data value.

The default is ''.