Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: format %w.dg


From   Michael Betz <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: format %w.dg
Date   Mon, 5 Nov 2012 20:15:58 +0000

Hi all,

Does anyone know if it is possible to get the %w.dg format to display a zero to the left of a decimal point when the number is less than zero the way that %w.df does?

For example %4.3g will display 0.314 as .314. Conversely, %4.3f will display 0.314 as 0.314

Is there any way around this or is it just something I have to live with?

Thanks,
Mike


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index