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: I visualize a different number


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: I visualize a different number
Date   Tue, 18 Jun 2013 17:57:45 -0400

To understand what happens and why you need to read the following:
http://www.stata.com/help.cgi?data_types
http://www.stata.com/support/faqs/data-management/float-data-type/
Best, Sergiy Radyakin

On Tue, Jun 18, 2013 at 5:45 PM, Saidé Salazar <saide.salazar@gmail.com> wrote:
> 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