website/generate-images.js
function round(num, places) {
    const n = Math.pow(10, places);
    return Math.round(num * n) / n;
}
function round(num, places) {
    const n = Math.pow(10, places);
    return Math.round(num * n) / n;
}
function round ( num , places ) { const n = Math . pow ( 10 , places ) ; return Math . round ( num * n ) / n ; }
Rounds number to a given number of decimal places
Rounds number to a given number of decimal places