Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

Converting VBScript's Multiplication Operator


Windows PowerShell


Definition: Multiplies two numbers.

Multiplication Operator

If you need to multiply two numbers in Windows PowerShell you can do what pretty much everyone who needs to multiply two numbers does: just use the asterisk (*) as the multiplication symbol. For example, this command multiplies 45 by 334 and stores the result in the variable $a:



$a = 45 * 334

For those few of you who didn’t bother to do this equation in your head, $a should be equal to this:



15030


Return to the VBScript to Windows PowerShell home page

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.