SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Variable resolveConst

    resolve: (ref: NumberFormatRef) => string = _resolveNumberFormat

    Resolve a Ref to a format-code string.

    Type Declaration

      • (ref: NumberFormatRef): string
      • Resolve a NumberFormatRef to a format-code string.

        Strings pass through; built-in ids resolve via the ECMA table (unknown ids resolve to 'General', matching Excel's behavior for unmapped ids).

        Parameters

        • ref: NumberFormatRef

        Returns string

        Locale-ADAPTIVE rendering of ids 14/22 is a value-level concern handled before engines format (see toLocaleDateCore) — this function always returns the canonical code.