Spaghetti Tom
Monday, April 10, 2017
Round a number to two digits in JavaScript or TypeScript.
let foo = Math.round(bar * 100) / 100;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment