formatCurrency
formatCurrency(
value?,currency?,locale?):string
Formats a numeric value into a localized currency string. e.g., 250000 -> “250.000 ₫”
Parameters
Section titled “Parameters”value?
Section titled “value?”number = 0
currency?
Section titled “currency?”string = 'VND'
locale?
Section titled “locale?”string = 'vi-VN'
Returns
Section titled “Returns”string