Hierarchy

  • Convert

Index

Methods

Static toABC

  • toABC(value: number): string
  • Converts the number to A B C D representation for numbering of the list.

    Parameters

    • value: number

      A number for converting into the A B C representation.

    Returns string

    String representation of the value in A B C D format.

Static toABCNumeric

  • toABCNumeric(value: number): string
  • Converts the number to A B C D representation for numbering of the list.

    Parameters

    • value: number

      A number for converting into the A B C representation.

    Returns string

    String representation of the value in A B C D format.

Static toABCRu

  • toABCRu(value: number): string
  • Converts the number to ¿ ¡ ¬ representation for numbering of the list in russian.

    Parameters

    • value: number

      A number for converting into the ¿ ¡ ¬ representation.

    Returns string

    String representation of the value in ¿ ¡ ¬ format.

Static toArabic

  • toArabic(value: number | string, useEasternDigits: boolean): string
  • Converts all digits in the string to the arabic representation.

    Parameters

    • value: number | string

      A string or number for converting into the arabic representation.

    • useEasternDigits: boolean

      Use eastern or standard arabic digits.

    Returns string

    String with arabic digits.

Static toRoman

  • toRoman(value: number): string
  • Converts Arabic numerals to Roman.

    Parameters

    • value: number

      Arabic numerals for converting to the Roman format.

    Returns string

    Returns Arabics numerals in Roman.

Generated using TypeDoc