number-to-currency-formatter
Reactive icon

Number To Currency Formatter

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 23 February 2024
 by 
5.0
 (2 ratings)
number-to-currency-formatter

Number To Currency Formatter

Details
Effortlessly convert decimal numbers into locale-specific formatted strings with our client actions. Leveraging the JavaScript's toLocaleString() method, achieve precise and professional representation tailored to the user's locale and formatting preferences.
Read more

The Number To Currency Formatter library uses JavaScript's toLocaleString() method to facilitate the seamless conversion of decimal numbers into string representations adhering to locale-specific formats. This method intelligently considers the intricacies of the user's locale and formatting preferences, incorporating elements such as thousand separators and appropriate decimal points

Two Dynamic Actions:

1)NumberToCurrency_Simple:

  • Functionality: This client action utilizes JavaScript to format numeric values into currencies with precision and simplicity.
  • Accepted Parameters:
  1. Number: The numerical value to be formatted.
  2. Locale: Specifies the desired locale (Any Unicode CLDR Value).
  3. Currency: Identifies the currency (Any Unicode CLDR Value).
  4. Currency Display: Options include Symbol, Code, or Name.
  5. Result: A meticulously formatted currency string catering to the specified parameters.


2)NumberToCurrency_Advanced:

  • Functionality: This client action offers an advanced level of currency formatting using the toLocaleString() method.
  • Accepted Options:
  1. Number, Locale, Currency, Currency Display, Style, Minimum/Maximum Integer Digits, Maximum Fraction Digits, Use Grouping, Notation, Compact Display, Set Minimum/Maximum Significant Digits.
  2. Result: A dynamically formatted currency string, providing unparalleled control over various aspects of presentation, from grouping and notation to significant digit configurations.

By offering these two client actions, the library provides a comprehensive solution for developers seeking both simplicity and advanced customization in formatting decimal numbers to currency strings. Harness the capabilities of the Number To Currency Formatter for a precise and user-friendly currency representation in your applications.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category