SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using lodash library, you can use the round method of lodash like following.
_.round(number, precision)
Eg:
_.round(1.7777777, 2) = 1.78