Multiple choice technology

What will be the value of the variable \$Result after executing the below PowerShell Script? \$Result = "10.99MB" $Result = $Result.replace("MB","") $Result = ([double]$Result *1024 *1024)

  1. 11523850.24

  2. 11253.76

  3. 11800422645.76

  4. 11524432850.24

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The script converts MB to bytes. First removes 'MB' string leaving '10.99'. Converts to double (10.99). Multiplies by 1024 to get KB, then by 1024 again to get bytes: 10.99 × 1024 × 1024 = 10.99 × 1048576 = 11523850.24 bytes exactly. This is the correct MB to byte conversion.