I need to convert a value $1,500,35
(American standard) to R$1.500,35
(Brazilian standard), but the language used in the bank is American and the functions I know only convert the value to the bank's current language. How can I do this?
Query example I'm using:
select (invoice_data->'valor_cobrado')::money as "Valor acumulado" from tb_invoice where invoice_number = 4653801
Query result: $ 14,825.00
I need to return this: $ 14,825.00