You need to sign in to do that
Don't have an account?

Constant for Pi?
Is there a constant for Pi that I just cant find? Its easy enough to define a Double with a pre-defined value in it, but I would assume that there was something in Math for it.
You need to sign in to do that
Don't have an account?
http://success.salesforce.com/ideaView?c=09a30000000D9xtAAC&id=08730000000bD9NAAU
You could always use 2*asin(1) if you don't feel like figuring out where a "static final PI" should be declared :)