diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md index bdd0b5bf6751..9894cee5a330 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md @@ -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) diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md index 2d5db85a5db1..e9a72d6440e1 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md @@ -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) diff --git a/reference/7.3/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md b/reference/7.3/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md index e7ee8876f147..de04da58d390 100644 --- a/reference/7.3/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md +++ b/reference/7.3/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md @@ -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) diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md index 24ddfab60c41..bf0ad3863055 100644 --- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md +++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Arithmetic_Operators.md @@ -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)