*Copyright @ www.mycsg.in;


Converting between character and numeric using INPUT and PUT

Why type conversion is necessary

Create sample data with type conversion challenges

The INPUT function - character to numeric

INPUT function syntax

Convert character numbers to numeric

Convert a character date to a SAS date value

The PUT function - numeric to character

PUT function syntax

Convert a numeric code to a character label

Convert a SAS date to a character string

Convert numeric to a padded character string using the Z format

Key points to remember