Skip to content

Commit 8c57cbb

Browse files
authored
Update index.html
1 parent 8558b15 commit 8c57cbb

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
@@ -2282,7 +2282,7 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
22822282
}
22832283

22842284
const ratio = 3.2 / number;
2285-
const tangent = parseFloat(tan(ratio));
2285+
const tangent = tan(ratio);
22862286

22872287
const area = (number / 4) * (length ** 2) / tangent;
22882288
const volume = pyramidVolume(area, height);

0 commit comments

Comments
 (0)