INFORMAT gives SAS special instructions for reading a variable.
FORMAT gives SAS special instructions for writing a variable.
Character to Numeric: newvar=input(oldvar, informat);
The informat must be the type you are converting to-numeric;
Numeric to Character: newvar=put(oldvar, format);
The format must be the type you are converting from-numeric.
Character to Numeric: newvar=input(oldvar, informat);
The informat must be the type you are converting to-numeric;
Numeric to Character: newvar=put(oldvar, format);
The format must be the type you are converting from-numeric.
No comments:
Post a Comment