PI
Returns the constant value of PI.
Syntax​
PI ( )
Return Type​
Returns PI value of type FLOAT64.
Examples​
Examples in this section use the example blockchain.
This example returns the value of PI
.
SELECT PI() FROM example;
Response:
PI() [FLOAT64]
3.141592653589793
3.141592653589793
3.141592653589793
3.141592653589793
3.141592653589793