Help Center/ Data Lake Insight/ SQL Syntax Reference (Paris Region)/ Spark SQL Syntax Reference/ Built-in Functions/ Mathematical Functions/ pi
Updated on 2025-01-22 GMT+08:00
pi
This function is used to return the value of π.
Syntax
pi()
Return Values
The return value is of the DOUBLE type.
Example Code
The value 3.141592653589793 is returned.
select pi();
Parent topic: Mathematical Functions
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot