SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
vandhan
Fluorite | Level 6

I have data like below

 

0.10
-0.10
0.12
0.13
11
-11.00
-0.20
479

 

I want like below as correctly aligned. 

  

    0.10
   -0.10
    0.12
    0.13
  11
 -11
   -0.20
479

 

Please help 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Here:

http://support.sas.com/kb/24/537.html

 

Just to note, I really don't advocate coding all in uppercase like that example shows, its just shouting.

 

Or put it into character and manually align to what you think "correct" should be.

View solution in original post

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Here:

http://support.sas.com/kb/24/537.html

 

Just to note, I really don't advocate coding all in uppercase like that example shows, its just shouting.

 

Or put it into character and manually align to what you think "correct" should be.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1344 views
  • 0 likes
  • 3 in conversation