introduce prettierrc formatting

This commit is contained in:
John Gatward
2026-03-31 22:19:53 +01:00
parent 415b76532a
commit 7c58ce135c
100 changed files with 85618 additions and 11596 deletions

View File

@@ -44,7 +44,7 @@
var circleCount, total;
var x, y;
var calcPI;
var DisplayPI = "a";
var DisplayPI = 'a';
const PI = 3.1415926535;
var BestPI = 50;
@@ -84,15 +84,15 @@
DisplayPI = calcPI;
BestPI = calcPI;
var PIDisplay = document.getElementById("PIbox");
var PIDisplay = document.getElementById('PIbox');
PIDisplay.innerHTML = DisplayPI;
var ErrorDisplay = document.getElementById("percentage");
var DisplayError = "a";
var ErrorDisplay = document.getElementById('percentage');
var DisplayError = 'a';
var Perror = (calcPI - PI) / PI;
Perror *= 100;
DisplayError = nfc(Perror, 10);
ErrorDisplay.innerHTML = DisplayError + "%";
ErrorDisplay.innerHTML = DisplayError + '%';
}
}
</script>