Changes

Jump to: navigation, search

Basic Windows PowerShell 1.0 Types

288 bytes added, 21:06, 18 November 2008
PowerShell Numeric Types
PS C:\Users\Administrator> $myval.gettype().name
Int32
</pre>
 
This technique may also be used to identify which type will be used for a value by enclosing the actual numeric value in question in parentheses and then using the ''gettype()'' as previously outlined:
 
<pre>
PS C:\Users\Administrator> (9898.989).gettype().fullname
System.Double
</pre>

Navigation menu