Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: RE: I visualize a different number


From   Saidé Salazar <saide.salazar@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: RE: I visualize a different number
Date   Tue, 18 Jun 2013 17:28:25 -0500

David and Sergiy, thank you for all your help!

Enviado desde mi iPhone

El 18/06/2013, a las 16:53, "Radwin, David" <dradwin@rti.org> escribió:

> Try generating it as a double.
>
> clear all
> set obs 1
> gen double x = 17440397133 in 1
> format %15.0fc x
> browse
>
> For more information, -help data_types-.
>
> David
> --
> David Radwin
> Senior Research Associate
> Education Studies Division
> RTI International
> 2150 Shattuck Ave., Suite 800
> Berkeley, CA 94704
> Phone: 510-665-8274
>
> www.rti.org
>
>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
>> statalist@hsphsun2.harvard.edu] On Behalf Of Saidé Salazar
>> Sent: Tuesday, June 18, 2013 2:45 PM
>> To: statalist@hsphsun2.harvard.edu
>> Subject: st: I visualize a different number
>>
>> Hello guys,
>>
>> I am capturing a number in Stata, but when I use the command "browse"
>> I see a different number. Any idea of what is happening? (I see
>> 17440397312 instead of 17440397133)
>>
>> clear all
>> set obs 1
>> gen x = 17440397133 in 1
>> format %15.0fc
>> br
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index