Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: percent format

From   Jeph Herrin <[email protected]>
To   statalist <[email protected]>
Subject   st: percent format
Date   Mon, 13 Jun 2005 13:05:14 -0400

I often work with percentages, and find it somewhat annoying that
I have to convert numbers to strings to get them to show up with
a %-sign. This is particularly a nusiance with graphs, where a histogram
that might naturally use %s on the y-axis cannot be persuaded
to do so without generating the frequencies first, relabeling them
as strings with %s, and then making a two-plot. Is there a trick that
I don't know about? Is there a reason that Stata avoids, eg, -format %6.1p-?
Seems like it would be a trivial modification at some level.

BTW, I use Stata 9, in case it matters.


*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index