"M$" => "T$"

This commit is contained in:
Austin Chen 2022-03-01 17:19:40 -08:00
parent 3633167d8a
commit 064d7e4ccc

View File

@ -6,7 +6,7 @@ const formatter = new Intl.NumberFormat('en-US', {
}) })
export function formatMoney(amount: number) { export function formatMoney(amount: number) {
return 'M$ ' + formatter.format(amount).replace('$', '') return 'T$ ' + formatter.format(amount).replace('$', '')
} }
export function formatWithCommas(amount: number) { export function formatWithCommas(amount: number) {