Crew-Portal Posted November 25, 2007 Share Posted November 25, 2007 How can I use PHP to calculate Pi to its 1,000,000 decimal place point? Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/ Share on other sites More sharing options...
Crew-Portal Posted November 25, 2007 Author Share Posted November 25, 2007 Nvm I lloked at the PHP manual. I finally found the function for it and as far as I an tell PHP can only calculate it up to its 20th decimal place value: 3.14159265358979323846 Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398907 Share on other sites More sharing options...
AndyB Posted November 25, 2007 Share Posted November 25, 2007 For bonus points, here's the mnemonic I learned donkey's years back. In French, no less: Que j'aime à faire connaître ce nombre utile aux vrais amateurs. Archiméde Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398928 Share on other sites More sharing options...
phpSensei Posted November 25, 2007 Share Posted November 25, 2007 For bonus points, here's the mnemonic I learned donkey's years back. In French, no less: Que j'aime à faire connaître ce nombre utile aux vrais amateurs. Archiméde J'ai rien compris de ce que tu as dis mon amis. Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398929 Share on other sites More sharing options...
Crew-Portal Posted November 25, 2007 Author Share Posted November 25, 2007 What I like to publicize this number is useful to some real amateurs. Archimede & I understood nothing of what you mean my friend?-- Whats that supposed to mean? ??? Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398931 Share on other sites More sharing options...
GingerRobot Posted November 25, 2007 Share Posted November 25, 2007 For bonus points, here's the mnemonic I learned donkey's years back. In French, no less: Que j'aime à faire connaître ce nombre utile aux vrais amateurs. Archiméde The number of letters in each word is the number at each successive decimel point: que: 3 . j: 1 aime: 4 etc Clever! Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398937 Share on other sites More sharing options...
Crew-Portal Posted November 25, 2007 Author Share Posted November 25, 2007 Oh wow! Thats too intellegent for me. I dont think I have the mental capacity for doing stuff like that. I showed my mom and she thought thats pretty cool. Thanks guys that really is pretty neat! Link to comment https://forums.phpfreaks.com/topic/78824-mmmmm-1000000-pieces-of-pi/#findComment-398952 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.