[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: a question on function int
I have a question about the function int that I could not understand what
stata is doing. Hope that you can answer me. Thanks.
Here it is:
For example, I have a data set:
after I run the following commands:
gen double temxxx=(id/1000)
list id temxxx temyyy temzzz areaxxx
What I got is
id temxxx temyyy temzzz areaxxx
10103005 10103.005 10103 .005 4
Is variable areaxxx supposed to be 5? Why did stata give me 4 instead of
5? Any clue for this?
* For searches and help try: