I am trying to truncate decimal numbers to decimal places. Something like this:
5.467 -> 5.46
985.943 -> 985.94
toFixed(2)
does just about the right thing but it rounds off the value. I don't need the value rounded off. Hope this is possible in javascript.