How to

get PI number

Published: 9. October 2011 | Updated: 9. October 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » Math
Tags: C# Math
Was this snippet helpful for you? YESYES / NONO
double pi = Math.PI;

Console.WriteLine(pi);
Console Output:
3.14159265358979
Send us feedback about this snippet »



Related Snippets: