From 8df9aa061f3cd63f868ceb34bae2e4e8b53ed3af Mon Sep 17 00:00:00 2001 From: Andrew Ryan Davis Date: Sat, 15 Aug 2020 20:05:08 -0700 Subject: [PATCH] Removing duped section There was a duplicate section --- powershell.html.markdown | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/powershell.html.markdown b/powershell.html.markdown index 99f5de97..2777820a 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -19,6 +19,7 @@ rather than plain text. After years of evolving, it resembles Python a bit. [Read more here.](https://docs.microsoft.com/powershell/scripting/overview) Powershell as a Language: + ```powershell # Single line comments start with a number symbol. @@ -41,26 +42,6 @@ Powershell as a Language: 10 * 2 # => 20 35 / 5 # => 7.0 -# Single line comments start with a number symbol. - -<# - Multi-line comments - like so -#> - -#################################################### -## 1. Primitive Datatypes and Operators -#################################################### - -# Numbers -3 # => 3 - -# Math -1 + 1 # => 2 -8 - 1 # => 7 -10 * 2 # => 20 -35 / 5 # => 7.0 - # Powershell uses banker's rounding # Meaning [int]1.5 would round to 2 but so would [int]2.5 # division always returns a float. You must cast result to [int] to round