Division Operator


Definition: Divides two numbers and returns a floating-point result.

 

Divide and conquer. We can’t make any promises regarding the conquer part of that statement, but in Windows PowerShell you can divide a pair of numbers by using / as the division operator. For example, this commandsdivides 761 by 11 and stores the value in the variable $a:

 

$a = 761 / 11

 

When you run this command and then echo back the value of $ a youshould get the following:

 

69.1818181818182