Definition: Returns the integer portion of a number.
Friends, are you plagued by decimal points? Would you just as soon strip off those pesky little decimal values and leave yourself with a clean, pure integer value? Then have we got a deal for you. In Windows PowerShell you can remove decimal places by using the System.Mathclass and the Truncate method. For example, here we assign the value 11.98 to $a, then use Truncate to remove the .98: