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

RE: st: RE: RE: Displaying values less than one with a zero in front of the comma


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: RE: Displaying values less than one with a zero in front of the comma
Date   Mon, 21 Feb 2005 22:53:30 -0000

On second thoughts "with respect to 
leading zeros" looks like the main 
point Fred is making. I think 
I misunderstood that on my first
reading. 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Nick Cox
> Sent: 21 February 2005 22:46
> To: [email protected]
> Subject: RE: st: RE: RE: Displaying values less than one with 
> a zero in
> front of the comma
> 
> 
> In general a macro is a character string.  
> It could contain "2.78128" or "Fred Wolfe", 
> etc. 
> 
> I guess you want to able to say something 
> like 
> 
> . set localformat %7.2f 
> 
> with also a stipulation that that be ignored 
> whenever the content is not numeric. 
> Is that right? 
> 
> My guess is that StataCorp could 
> do that fairly easily. I just don't 
> think it would be particularly useful. 
> 
> Nick 
> [email protected] 
> 
> Fred Wolfe
>  
> > While we are on the subject, I'd like to see the ability to 
> > specify the 
> > format of macros generally (globally), with respect to 
> > leading 0s, so that 
> > one doesn't have to format each one individually.
> 
> *
> *   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/
> 

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