Multiple choice technology programming languages

What is the use of PUT function in a DATA step?

  1. converts character to numeric

  2. onverts numeric to character

  3. writes the values to the output file

  4. None of the above

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

In SAS, the PUT function is used to convert a numeric value to a character value using a specified format. The INPUT function is used to convert character values to numeric values.