Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Display the Value of Pi by Using PowerShell

$
0
0

Summary: Use Windows PowerShell to easily display the value of pi.

Hey, Scripting Guy! Question How can I use Windows PowerShell to obtain the value for pi?

Hey, Scripting Guy! Answer Use the Pi static property from the System.Math class:

[math]::pi


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>