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).
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.