You can calculate pi to millions of digits of precision with this applet. It supports four algorithms for calculating pi, and any radix between 2 and 36.

There is also an unsigned version of this applet.

Back to sample apfloat applets.