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

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

PI to one million decimal places

Postby 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)

Example:

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.
Attachments
PI2OneMillionDecimals.zip
(448.46 KiB) Downloaded 211 times

Return to “Your projects”

Who is online

Users browsing this forum: No registered users and 2 guests