base-formatter
    Preparing search index...

    Interface BaseConverterOptions

    The options passed to BaseConverter and BaseConverter.encode.

    interface BaseConverterOptions {
        maximumFractionLength?: number;
        notation?: Notation;
        precision?: number;
        roundingMode?: RoundingMode;
    }

    Hierarchy (View Summary)

    Index

    Properties

    maximumFractionLength?: number

    The maximum fraction length. By default, the maximum fraction length is determined by the precision.

    null

    notation?: Notation

    The formatting that should be displayed for the number.

    'standard'

    precision?: number

    The precision of the number, the number of significant digits.

    32

    roundingMode?: RoundingMode

    How numbers are to be rounded.

    'halfExpand'