Below is the code :
var a ="10.9549999999999141";
console.log(a);
console.log(typeof a);
console.log(Number(a));
Now the above code results as below :
"10.9549999999999141"
"string"
10.954999999999915
Here See the value got rounded off from 10.9549999999999141 to 10.954999999999915, as the result of query comes in string so i want to convert the exact same value to number avoiding round off.
Can any one help ?