PI (PQL)
Returns the constant number 'PI' - the ratio of the circumference of a circle to its diameter, approximately 3.14159.
- Returned Output: Numeric
- Library: PQL \ Granular \ Math
- Version: 2023.00.000
- Compatibility: Pyramid Query Language (PQL) data sources
Syntax
PI()
Comments
- The function returns a value, rather than performing an operation on a given column. The value can then be used to drive derivative logic. The various Identity values are often used to secure data based on the current end user or create personalized values for the end user.
- For details on how to employ and use this function see the custom column overview.
Different Function types
- This function is similar to the PQL common functions of the same name. However, it operates on a column directly at the grain.
- As a granular function, it is used in the base SQL query itself.
Examples
This example returns a column with the "PI" value.
E()
You can see the effect from this example snippet in column #9.