Data visualization with SAS programming

tagattr='format:###%' doesn't show 0%

Accepted Solution Solved
Reply
Regular Contributor
Posts: 199
Accepted Solution

tagattr='format:###%' doesn't show 0%

I'm using tagsets.excelxp to display a proc report table.

tagattr='format:###%' correctly display the output as xx% (eg 10%).

However 0% shows up as %.

Any ideas? Thank you.


Accepted Solutions
Solution
‎08-29-2011 02:07 PM
SAS Employee
Posts: 95

tagattr='format:###%' doesn't show 0%

A format of ##0% may work.   But the easiest way to get percentages is to format them as percentages in SAS as percent so that they come out the way you want. (eg. 10%)

The tagset automatically detects percentage values and does the right thing with them.

Eric

View solution in original post


All Replies
Solution
‎08-29-2011 02:07 PM
SAS Employee
Posts: 95

tagattr='format:###%' doesn't show 0%

A format of ##0% may work.   But the easiest way to get percentages is to format them as percentages in SAS as percent so that they come out the way you want. (eg. 10%)

The tagset automatically detects percentage values and does the right thing with them.

Eric

🔒 This topic is solved and locked.

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

Discussion stats
  • 1 reply
  • 225 views
  • 0 likes
  • 2 in conversation