NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

footnotes/footnotesproperties/footnotespropertiesformatters

Api-module iconmodule

Functions

  • Chevron-right icon

    Parameters

    n : number

    Returns

    string
  • Chevron-right icon

    formatDecimalLeadingZeroFootnote( n, digits ) → string

    Formats a unsigned decimal number with leading zeros based on the specified number of digits.

    Parameters

    n : number

    The number to format.

    digits : number

    The minimum number of digits.

    Returns

    string

    The formatted string with leading zeros.

  • Chevron-right icon

    formatLatinFootnote( n, upper ) → string

    Converts a unsigned number to alphabetic representation like Excel columns (A, B, C, ..., Z, AA, AB, ...). This follows Excel-style numbering: 1=A, 2=B, ..., 26=Z, 27=AA, 28=AB, etc.

    Parameters

    n : number

    The number to convert (must be >= 1).

    upper : boolean

    Whether to use uppercase letters.

    Returns

    string

    The alphabetic representation of the number.

  • Chevron-right icon

    formatRomanFootnote( n, upper ) → string

    Parameters

    n : number
    upper : boolean

    Returns

    string