Nick Hodges was a Borland and Embarcadero developer up until less than a year ago. Not sure why he left the company, but he seems to be just as hooked into the internet as he ever was. Here is a post from his blog where he posts his code that will calculate a rough value of Pi.

http://www.nickhodges.com/post/Calculating-Pi.aspx