Multiple choice technology programming languages

Which Built-In-Function will you use to achieve the following functionality?

  1. %ABS

  2. %TRIM

  3. %TRIMS

  4. %UNS

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

The %ABS built-in function in RPG returns the absolute value of a numeric expression, which matches the functionality described. %TRIM removes trailing blanks, %TRIMS removes both leading and trailing blanks, and %UNS converts to unsigned format. Since the question asks for absolute value functionality, %ABS is the correct choice.