DATA Step, Macro, Functions and more

Align Values in RTF having decimal and minus values

Accepted Solution Solved
Reply
Contributor
Posts: 41
Accepted Solution

Align Values in RTF having decimal and minus values

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 

 

 


Accepted Solutions
Solution
‎05-10-2018 03:11 AM
Super User
Super User
Posts: 9,599

Re: Align Values in RTF having decimal and minus values

[ Edited ]

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


All Replies
Solution
‎05-10-2018 03:11 AM
Super User
Super User
Posts: 9,599

Re: Align Values in RTF having decimal and minus values

[ Edited ]

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.

Super User
Posts: 10,770

Re: Align Values in RTF having decimal and minus values

Style={just=dec};

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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