Multiple choice technology programming languages

Which of the following can be used to read numeric values that contain numeric values and commas into a SAS dataset?

  1. comma. informat

  2. dollar. format

  3. comma. format

  4. w.d informat

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

Reading numeric values containing commas requires an informat that can handle those characters. The comma. informat specifically reads numeric values that contain commas and converts them to plain numbers. For example, comma8.2 would read '1,234.56' as 1234.56. Formats (like comma. format or dollar. format) are for writing/output, not reading.