Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » Math FunctionsRSS Feeds

PI Function

Posted By: Sarita Patel     Category: SQL Server     Views: 2415

This article explains PI function of sql server with examples.

PI function is used to get population proportion of successes. It returns constant value of PI.


Syntax of PI Function :

PI ()

Return type of PI function is float.



Examples of PI Function :

Example 1 : Use of PI function in select clause

SELECT  PI()

Output
3.14159265358979  

Above example returns constant value of PI.
  
Share: 

 
 
 

Didn't find what you were looking for? Find more on PI Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of PI Function is from United States.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!