<# .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
No comments:
Post a Comment