• Get the amount string with correct symbol precision and symbol

    Returns

    The formatted amount string.

    Example

    getAmountInEosFormat('111.44443399', 6, 'SYS')
    // '111.444434 SYS'

    Parameters

    • _amount: string | number | BigNumber

      The amount to be formatted.

    • _decimals: number

      The token decimals.

    • symbol: string

      The token symbol.

    Returns string

Generated using TypeDoc