createFormatOverride MethodProtected

Creates an OverrideFormat in the context of this KindOfQuantity.

createFormatOverride(parent: Format, precision?: number, unitLabelOverrides?: [Unit | InvertedUnit, undefined | string][]): OverrideFormat

Parameter Type Description
parent Format The Format to override.
precision number The precision override
unitLabelOverrides [Unit | InvertedUnit, undefined | string][] The list of unit and label overrides.

Returns - OverrideFormat

Defined in

Last Updated: 30 November, 2023