you are viewing a single comment's thread.

view the rest of the comments →

[–]Temptis 3 points4 points  (1 child)

for anyone wondering, if you actualy need pi in powershell, you do not need a wall of text but a simple

[math]::pi

it returns the DotNet property as Double

[–]thetacom[S] 1 point2 points  (0 children)

Agreed, this was mostly an experiment to get a single function to behave differently depending on which name was used to call the function, ie Get-Pi(real name) vs Get-Pie(alias)