No-Library (pure JS), HTML, CSS, JavaScript
An example of how we can configure decimal.js to automatically round to the correct number of decimal places when JSON.stringify()-ed.
jQuery (edge), HTML, CSS, JavaScript
From this reddit post: https://www.reddit.com/r/AskReddit/comments/6il1jx/whats_the_coolest_mathematical_fact_you_know_of/dj78wzt/
jQuery 3.2.1, HTML, SCSS, JavaScript
jQuery 3.1.1, HTML, CSS, JavaScript