Multiple choice technology mainframe

say FORMAT(123.45,5,3)?

  1. " 123.450"

  2. "123.45"

  3. "00123.450"

  4. "00123.45"

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

The FORMAT(number, before, after) function in REXX formats a number. FORMAT(123.45, 5, 3) requests 5 spaces for the integer part (leading spaces added) and 3 decimal places (trailing zero added). This results in ' 123.450' (two leading spaces + three digits = 5 total 'before' positions).