We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cfc7dc commit 918d135Copy full SHA for 918d135
1 file changed
index.html
@@ -966,7 +966,7 @@ <h4 style="font-size:160%;margin:7px">Trigonometry</h4>
966
967
const joker = Math.abs(value - input);
968
if (joker < minDiff) {
969
- minDiff = joker;
+ minDiff = difference;
970
bestMatch = {
971
angle: key, // We're using this key as the input (the angle) that produced the value
972
value: value
@@ -1476,7 +1476,7 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
1476
1477
// Segment validity check
1478
1479
- if ( ratio === 0) {
+ if ( ratio < 0.11) {
1480
document.getElementById('segment-area').innerText = '';
1481
return;
1482
}
0 commit comments