Showing tag results for Numbers

Jan 28, 2015
Post comments count2
Post likes count0

Formatting PowerShell Decimal Places

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using strings to format the display of decimal places in Windows PowerShell.  Hey, Scripting Guy! One of the things I have a problem with is when I get numbers that have a lot of decimal places. I mean, how do I really get rid of them—at least properly? I have done things like conv...

Scripting Guy!Windows PowerShellgetting started
Jan 27, 2015
Post comments count0
Post likes count0

PowerTip: Use Parentheses to Override Operator Precedence

Doctor Scripto
Doctor Scripto

Summary: Use parentheses to override operator precedence in Windows PowerShell.  How can I ensure that a math expression that keeps returning incorrect information will work properly in            Windows PowerShell?                &nb...

Scripting Guy!Windows PowerShellPowerTip
Jan 27, 2015
Post comments count0
Post likes count0

Working with Fixed Number Sizes in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about working with fixed number sizes in Windows PowerShell.  Hey, Scripting Guy! I have a script that returns a specific type of number, so I added a type constraint on the variable that holds the number. The problem is that sometimes when I run the script, I get errors. I cannot figure this ...

Scripting Guy!Windows PowerShellgetting started
Jan 26, 2015
Post comments count0
Post likes count1

Understanding Numbers in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about numbers in Windows PowerShell.  Hey, Scripting Guy! One of the things that is frustrating to me with Windows PowerShell is the way that it handles numbers. For example, I want to know the percent of processor utilization for something, and it displays a number that is like fifty million ...

Scripting Guy!Windows PowerShellgetting started