<# .SYNOPSIS Illustrates the exponential value 'e' .DESCRIPTION This script uses system.math's E field .NOTES File Name : get-mathe.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 .LINK http://pshscripts.blogspot.co.uk/2008/07/get-matheps1.html .EXAMPLE PSH [C:\foo]: . \get-mathe.ps1' The Value of E is 2.71828182845905 #> ## # Start of Script ## # get the value $e = [math]::e # print it out "The Value of E is {0}" -f $e # End of Script
This blog contains PowerShell scripts, more PowerShell scripts and still more PowerShell scripts. Occasionally you may see some organisational posts.
Monday, 28 July 2008
Get-MathE.ps1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment