I inserted this code here in a module
function execute_foreach(array){
array.forEach(element => {
let valor = parseInt(element.innerText);
element.innerText = valor.toLocaleString('pt-BR')
})
}
I put to insert the point automatically in the values. But if I enter a point value of "3,000", its return will be "3". How do I solve this? I have researched and don't find it. Is there another way to do this?