Currency API object

Implements

Constructors

  • Builds a currency object for a Parameter

    Parameters

    • amount_1000: number

      Amount multiplied by 1000

    • code: string

      Currency code as defined in ISO 4217

    • fallback_value: string

      Default text if localization fails

    Returns Currency

    If amount_1000 is not greater than 0

Properties

amount_1000: number

The amount of the currency by 1000

code: string

The currency code

fallback_value: string

The fallback value