SyntaxFix
Write A Post
Hire A Developer
Questions
Try toFixed instead of toPrecision.
toFixed
toPrecision