Multiple choice technology programming languages

What will be the result of $EDIT(25.734,'99999.99') statement ?

  1. 25.73

  2. 025.73

  3. 0025.73

  4. 00025.73

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

$EDIT formats the number 25.734 to 2 decimal places (25.73) then pads with leading zeros to match the pattern width. The pattern '99999.99' requires 5 digits before the decimal, so 25.73 becomes 00025.73.