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
StevenM
Posts: 149
Joined: Thu Jan 20, 2011 10:03 am

PI to one million decimal places

Post by StevenM »

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 919 times
Post Reply