0
Good afternoon, everyone,
I use the following command to transform a float number for money:
parseFloat(valor).toLocaleString('pt-br',{style: 'currency', currency: 'BRL'})
This works, and this value I use for the display in a report. However, in this report he puts the R $ before the value, which the report is good, but not to save in the bank.
I needed to know if there is a way to take a formatted value in this way and remove this R$, keeping only the number.
I thank anyone who can help.
Thank you very much!
– Rafael