BookmarkSubscribeRSS Feed
TANMOY05
Obsidian | Level 7

The numbers like  1.000 , 22.00 etc. after transposing gets converted to 1 , 22 respectively. What should i do so that even after transposing, the numbers should come out as 1.000 ,22.00?

5 REPLIES 5
ed_sas_member
Meteorite | Level 14

Hi @TANMOY05 

You need to apply a format for display.

n.p

Maximum "n" number of columns with "p" decimal points.

 

e.g. 4.3

TANMOY05
Obsidian | Level 7
After transposing , the variables changes , therefore i can't apply the format
ed_sas_member
Meteorite | Level 14

Hi @TANMOY05 

You need to apply the format after transposing to the new variables that have been created.

TANMOY05
Obsidian | Level 7
No, that is creating problem, isn't there anyway of retaining the format while transposing only?
ed_sas_member
Meteorite | Level 14

Please provide a sample of your data and the desired output...

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 744 views
  • 0 likes
  • 2 in conversation