I need to handle this error:
"Can not deserialize value of type java.lang.Integer
from String "$ 5,000.00": not a valid Integer value ".
I need to convert the string parameter ($ 5,000) to integer (5000).
Treatment I started:
var valorAplicacao = vm.valor.replace('R$ ', '').split(".").join("").replace(',', '.');
valorAplicacao = parseFloat(valorAplicacao);