Jan 032011

It may turn up that you need to use Pi for some random reason. Well instead of trying to make a variable in which you manually type it, you can use the version built into System.Math which holds Pi to 20 decimal places.

$Pi = [System.Math]::Pi

3 * $Pi

>> 9.42477796076938

3 * $Pi

>> 9.42477796076938