I want to convert string into number without loosing the actual value,I have tried all possible way ,couldn't solve it
const value = "324,864.88"
const value2 = '-88.88'
parseFloat(value.split(',').join(''));//this converts into integer, but loose, the value