Pi
Returns the mathmatical constant Pi accurate to 15 digits
Method Signature
Pi()Arguments
This function does not accept any arguments
Examples
pi to 11 digits
pi();
Result: 3.141592653589793238462643383279503
Display all 15 digits with numberFormat
numberFormat( pi(), "0.000000000000000" );
Result: 3.141592653589793
Boxlang only shows up to 15 digits of pi
After 15th digit CF outputs 0's
Result: 3.1415926535897932385
Additional Examples
Related
Last updated
Was this helpful?
