posted 15 years ago
My secenario is that i want to roundoff a number that comes after a calulation.
var x=(40000/10340000)*100;
which gives me x=0.3868471.
Now im using round(x); where im getting the answer as 0.39
My requirement is that it should not round off , It should come as 0.38 , Is their any function that could be helpfull for me.