https://github.com/palashmon/generate-pi-cli
🚀 Find PI(π) to the Nth Digit
https://github.com/palashmon/generate-pi-cli
cli cli-app generate library pi
Last synced: 12 months ago
JSON representation
🚀 Find PI(π) to the Nth Digit
- Host: GitHub
- URL: https://github.com/palashmon/generate-pi-cli
- Owner: palashmon
- License: mit
- Created: 2017-09-06T18:58:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T06:06:56.000Z (about 2 years ago)
- Last Synced: 2024-04-07T06:05:47.090Z (about 2 years ago)
- Topics: cli, cli-app, generate, library, pi
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# generate-pi-cli
> Find PI(Ï€) to the Nth Digit

[](http://npm.im/generate-pi-cli)
[](http://npm.im/generate-pi-cli)
## Install
```bash
$ npm install -g generate-pi-cli
```
## Usage
```bash
$ gen-pi --help
Usage
$ gen-pi [input]
Default Input
50 [By default, will show PI(Ï€) to 50 decimal places]
Max Input
200 [Currently upto 200 decimal places are shown
Will default to 200, if input more than 200]
Examples
$ gen-pi
3.14159265358979323846264338327950288419716939937510
$ gen-pi 10
3.1415926535
```
## Related
- [generate-pi](https://github.com/palashmon/generate-pi)- API for this module
## License
MIT © [Palash Mondal](https://github.com/palashmon)