PI to one million decimal places

Post screenshots, binaries and projectfiles of the projects you have made with ZGE that you want to share!

Moderator: Moderators

Post Reply
Posts: 149
Joined: Thu Jan 20, 2011 10:03 am

PI to one million decimal places

Post by StevenM » 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)


Code: Select all

getPI(0); //3
getPI(1); //1
getPI(2); //4
getPI(3); //1
The sample project here adds the first 144 decimal places of PI and outputs the results to the log window.
(448.46 KiB) Downloaded 404 times

Post Reply