Skip to main content
AppUtils provides the current locale and country, and formats currency amounts.

Global name

API

Properties

locale

The current app locale.

country

The current country code.

Methods

formatCurrency

Formats an amount as a localized currency string. It does not change the input amount.
Pass the amount as a numeric string. If you omit currency, the app uses the default currency formatting for the current context.