Function formatCurrency

Formats a currency according to the current language and context.

  • Parameters

    • Optionalcontext: string

      The context of the currency.

    Returns string

    The formatted currency.