Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

monster.util.getCurrencySymbol()#

Syntax#

monster.util.getCurrencySymbol();

Return value#

  • String representation of the currency symbol

Description#

The monster.util#getCurrencySymbol method returns the currency symbol based on the current language (monster.config.whitelabel.language) and currency code set for Monster UI (monster.config.currencyCode).

Examples#

// monster.config.whitelable.language -> en-US
// monster.config.currencyCode -> USD
monster.util.getCurrencySymbol();
// -> '$'

// monster.config.whitelable.language -> fr-FR
// monster.config.currencyCode -> USD
monster.util.getCurrencySymbol();
// -> '$US'