API Reference > imodeljs-frontend > QuantityFormatting > LocalUnitFormatProvider > constructor constructor Method If maintainOverridesPerIModel is true, the base class will set up listeners to monitor active iModel changes so the overrides for the QuantityFormatter properly match the overrides set up by the user. LocalUnitFormatProvider(quantityFormatter: QuantityFormatter, maintainOverridesPerIModel?: boolean): LocalUnitFormatProvider Parameter Type Description quantityFormatter QuantityFormatter maintainOverridesPerIModel boolean Returns - LocalUnitFormatProvider Defined in core/frontend/src/quantity-formatting/LocalUnitFormatProvider.ts Line 18 Last Updated: 12 June, 2024