RosettaCodeData/Task/Topic-variable/PowerShell/topic-variable-1.psh

3 lines
132 B
Plaintext

65..67 | ForEach-Object {$_ * 2} # Multiply the numbers by 2
65..67 | ForEach-Object {[char]$_ } # ASCII values of the numbers