Skip to content

🚀 Find PI(π) to the Nth Digit

License

Notifications You must be signed in to change notification settings

palashmon/generate-pi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate-pi-cli

Find PI(Ï€) to the Nth Digit

CI npm version npm downloads

Install

$ npm install -g generate-pi-cli

Usage

$ 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

License

MIT © Palash Mondal