mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
fix: spellings which are making ci fail (#1089)
* Updated Documentation in README.md
* chore: remove wrong spelling
* ci: recognize "falsy" as correct spelling
* chore: fix spelling
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,7 @@ const piEstimation = (iterations = 100000) => {
|
||||
if (radius < 1) circleCounter += 1
|
||||
}
|
||||
|
||||
// fomula for pi = (ratio of number inside circle and total iteration) x 4
|
||||
// formula for pi = (ratio of number inside circle and total iteration) x 4
|
||||
const pi = (circleCounter / iterations) * 4
|
||||
return pi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user