Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: format %w.dg


From   WEBER Sylvain <sylvain.weber@unine.ch>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: format %w.dg
Date   Tue, 6 Nov 2012 05:51:52 +0000

Hi,

This should be:
%04.3f

Sylvain

Le 5 nov. 2012 à 12:16, "Michael Betz" <betz.40@buckeyemail.osu.edu> a écrit :

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

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index