Statalist


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

st: All entries saved as integers


From   Hans Henrik Sievertsen <[email protected]>
To   [email protected]
Subject   st: All entries saved as integers
Date   Wed, 10 Feb 2010 21:49:22 +0100

Hi all,

I suddenly experience that all my entries in stata are saved as integers?
How can that be?
If I for instance type:


. clear

. set obs 10
obs was 0, now 10

. gen a=2.73456

. disp a
2


While if I use some function it works:


. gen z=uniform()
. disp z
.88350743

What am I doing wrong?
Thanks in advance!

Regards
Hans
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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