We want to display dynamic value in a table using JavaScript in vb.net. we have define the variable as var rValue
.
The expression is rValue = parseFloat(594 * 0.1);
We are getting putput as 59.400000000000006
but we need the output as 59.4
please let us know how to do that .
P.S. We do not want to use tofixed()
as it will return the two decimal point for all the values which do not have decimal points.