Something that you may find useful: The CONSTANT function. Instead of typing out many digits you can use the CONSTANT('PI') and not have to worry about typo's. Also this function tells someone reading the code what you are using.
There are other constants such as E and Euler's constant plus somewhat system dependent values BIG and SMALL plus log and square root of the BIG and SMALL.
... View more