mcbopomofoweb
    Preparing search index...

    A class to convert numbers to Suzhou numbers.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Generates a Suzhou number string.

      Parameters

      • intPart: string

        The integer part of the number.

      • decPart: string

        The decimal part of the number.

      • unit: string = ""

        The unit of the number.

      • preferInitialVertical: boolean = true

        Whether to prefer vertical digits for the first digit.

      Returns string

      The Suzhou number string.