PI to one million decimal places
Posted: Sun Mar 31, 2013 12:20 am
For anyone that wants to explore the mysteries of PI - this project reads the nth decimal place of PI up to one million decimals from a text file.
To Use just call getPI(int n)
Example:
The sample project here adds the first 144 decimal places of PI and outputs the results to the log window.
To Use just call getPI(int n)
Example:
Code: Select all
getPI(0); //3
getPI(1); //1
getPI(2); //4
getPI(3); //1