Removing duped section

There was a duplicate section
This commit is contained in:
Andrew Ryan Davis 2020-08-15 20:05:08 -07:00
parent 11db56b81c
commit 8df9aa061f

View File

@ -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) [Read more here.](https://docs.microsoft.com/powershell/scripting/overview)
Powershell as a Language: Powershell as a Language:
```powershell ```powershell
# Single line comments start with a number symbol. # Single line comments start with a number symbol.
@ -41,26 +42,6 @@ Powershell as a Language:
10 * 2 # => 20 10 * 2 # => 20
35 / 5 # => 7.0 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 # Powershell uses banker's rounding
# Meaning [int]1.5 would round to 2 but so would [int]2.5 # 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 # division always returns a float. You must cast result to [int] to round