DATA Step, Macro, Functions and more

Decimal align and min-max values

Reply
Regular Contributor
Posts: 210

Decimal align and min-max values

[ Edited ]

Hi all,

 

I have an issue with align of the data as you can see on the picture below:

Respected Advisor
Posts: 2,794

Re: Decimal align and min-max values

Posted in reply to DmytroYermak

What part of SAS did you use to produce these misaligned values? Show us your code.

 

Can you show us (a part of) the actual data, in the form of data step code?

 

--
Paige Miller
Super User
Posts: 13,283

Re: Decimal align and min-max values

Posted in reply to DmytroYermak

I am not sure what you desire for output but it seems like perhaps that you may want to force the min value to have a decimal.

Since SAS data sets would only allow referencing a single variable for your Mean (sd) and Min Max pairs as character variables then go back a step to where you create those strings to ensure that the Min (and Mean) have the decimal to align with.

Ask a Question
Discussion stats
  • 2 replies
  • 129 views
  • 0 likes
  • 3 in conversation