KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. Is this possible in JavaScript?
Tags (comma-separated)
Save Edits
Cancel