add discount
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export function currency(value: number) {
|
||||
return new Intl.NumberFormat('pt-BR', {
|
||||
style: 'currency',
|
||||
currency: 'BRL'
|
||||
}).format(value)
|
||||
}
|
||||
Reference in New Issue
Block a user