[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Formatting fields
You need to make id2 a double when you generate it otherwise you are using a
float (by default) which does not contain enough digits of precision.
----- Original Message -----
Sent: Friday, October 07, 2005 6:47 PM
Subject: st: Formatting fields
I have two files one file has ID in the form str10 the other in the form
I want to merge the data by the ID
When I perform a command to change the str var to numeric, the new numeric
field comes in as a float %9.0g
When I reformat that field to 12.0g, the field values change completely.
gen id2 =real(id)
WHY IS THIS HAPPENING AND HOW CAN I CORRECT IT?
P.S. Using version 6.0
Have a great day!
* For searches and help try: