Please help on converting numeric to character variable

From sasCommunity

Jump to: navigation, search
sasCommunity Forum : sasCommunity - general site feedback : Please help on converting numeric to character variable

By Jieying2002 on Tue Dec 11, 2007 10:48 am

I need to convert numeric to char with length 8 and fill '0's in empty spaces. For example, 123--->00000123

Could anyone help me? Thanks a lot!


Private Message | Personal Page | Quote


By Mharrington on Wed Dec 19, 2007 12:45 pm

newvar=put(123,z8.);


Private Message | Personal Page | Quote


By Joobri(bureaucrat,sysop) on Fri Feb 01, 2008 3:45 pm

(ignore... this is a test)


Private Message | Personal Page | Quote


Showing page 1/1


Forum section Powered by MWBB
Views
Personal tools