I have a value which converts into NaN while converting using parseFloat() function ,but as of the value range is more its not working.
So is there any other alternate like "parseDouble()" or sort of or any other suggestion or logic to handle this.
eg when I convert parseFloat('123456789.565'
) then it returns NaN. please help me.
Thanks in Advance.
var ch1 = '1212154.45'; //Comes from textbox
var ch2 = '1212154454.45'; //Comes from textbox
alert(parseFloat(ch1) ) // returns NaN
var total = parseFloat(ch1) + parseFloat(ch2)