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

st: Having a zero before my comma


From   Seb Buechte <sfbuechte@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Having a zero before my comma
Date   Mon, 21 Feb 2005 16:21:19 +0100

Dear all,

today I am really caught in the depths of formatting output. This time
I was wondering wether I may be able to force stata to start off with
a zero when displaying a value smaller than 1.

example:

local value1=1/2

local value2=10/2

forval i=1/2 {



I would like to see an output 


-- 
- Seb F Buechte
-
- Stay in touch!
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index