Skip to content

Commit 629b95c

Browse files
authored
Update index.html
1 parent a64978c commit 629b95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ <h4 style="font-size:160%;margin:7px">Trigonometry</h4>
11111111
const s1 = side2 + side3;
11121112
const s2 = side1 + side3;
11131113
const s3 = side1 + side2;
1114-
const product = parseFloat((s * s1 * s2 * s3).toFixed(5));
1114+
const product = s * s1 * s2 * s3;
11151115
const area = triangleArea(product);
11161116

11171117
document.getElementById('triangle-area').innerText =

0 commit comments

Comments
 (0)