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...

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
  • 5 replies
  • 1414 views
  • 0 likes
  • 2 in conversation