"M$" => "T$"
This commit is contained in:
parent
3633167d8a
commit
064d7e4ccc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user