Set variable
block:{{Valor da receita}}.replace(".", ",")
number
input type produces a numeric type in JavaScript, which doesn’t have a replace
method. You’d need to convert it to a string before applying replace
. {{Valor da receita}}.toString().replace(".", ",");
{{Valor da receita}}.toLocaleString("pt-BR", { minimumFractionDigits: 2 });