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

st: Percent (and other) formats


From   Nick Winter <[email protected]>
To   [email protected]
Subject   st: Percent (and other) formats
Date   Tue, 14 Jun 2005 15:43:21 -0400

Of course, down this road lies some sort of completely generic format syntax.

Somethign like:

%{"("{@*100}3.2f"%)"}

might generate
(32.5%)

for the value 0.325.

And so on.

Then again, Excel's version of this is so complex that I never bothered to figure it out.

*That* might be very useful for coding routines to output formatted tables and the like. But probably not worth the investment by Stata...

--Nick





--------------------------------------------------------
Nicholas Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
308 White Hall falcon.arts.cornell.edu/nw53 w
Cornell University
Ithaca, NY 14853-4601
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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