Provides helper methods for formatting numbers as currency.
Formats a number instance into a currency string. The number is rounded to 2 decimal places before formatting.
An object containing the numeric value to format.
A string representing the formatted currency value.
const numberInstance = { value: 1234.5678 };priceHelper.FormatCurrency(numberInstance); // "$1,234.57" Copy
const numberInstance = { value: 1234.5678 };priceHelper.FormatCurrency(numberInstance); // "$1,234.57"
Provides helper methods for formatting numbers as currency.