Skip to content

Commit

Permalink
Added missing parenthesis in about_Arithmetic_Operators.md
Browse files Browse the repository at this point in the history
Added the missing parenthesis at the end of the first line in the [Math] class example in the **Division and rounding** section.
  • Loading branch information
VShrubowich authored Nov 14, 2023
1 parent 003047b commit 7faa91d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ PS> [int]( 7 / 2 ) # Result is rounded up
You can use the `[Math]` class to get different rounding behavior.

```powershell
PS> [int][Math]::Round(5 / 2,[MidpointRounding]::AwayFromZero
PS> [int][Math]::Round(5 / 2,[MidpointRounding]::AwayFromZero)
3
PS> [int][Math]::Ceiling(5 / 2)
Expand Down

0 comments on commit 7faa91d

Please sign in to comment.