Answers for "string with comma to number js"

4

javascript number to number with commas

var number = 3500;

console.log(number.toLocaleString());
Posted by: Guest on May-25-2021
0

javascript string comma seprated price to int

let output = parseFloat("2,299.00".replace(/,/g, ''));
console.log(output);
 Run code snippet
Posted by: Guest on January-10-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language