Calculates the value of π. This function is an additional function of MaxCompute V2.0.
Syntax
double pi()
Return value
A value of the DOUBLE type is returned.
Examples
-- The return value is 3.141592653589793.
select pi();
Related functions
PI is a mathematical function. For more information about functions related to data computing and conversion, see Mathematical functions.