79087729

Date: 2024-10-14 21:11:41
Score: 2
Natty:
Report link

If in doubt in this kind of problem, enclose all or part of it in a "$()" expression.

Instead of:

$x = "22" + "11"

try

$x = $([string]"22" + [string]"11")

PowerShell will sometimes thinking your trying to add 22+11 for 33 instead of "2211"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: J. DuBois