Hi
Is there any way to do this? I tried a computed column OLD_VAR * 1 but got the error attached, I want to do this on point click because is faster than creating a program just to convert one var.
You can do it by defining an Advanced Expression as a calculated column with the INPUT function, using something like:
input(t1.CNPJ_CPF,best12.)
(replace "best12" with appropriate informat spec to get the precision you need).
You can do it by defining an Advanced Expression as a calculated column with the INPUT function, using something like:
input(t1.CNPJ_CPF,best12.)
(replace "best12" with appropriate informat spec to get the precision you need).
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.