<br>
function format_num(id) {<br>
var number = document.getElementById("principal").value;<br><br>
var checkedNew = number.split('.').join("");<br><br>
document.getElementById("principal").value = checkedNew.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");<br><br>
}<br>
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)