Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: In search of the lost precision


From   Farshad Pourmalek <[email protected]>
To   [email protected]
Subject   st: In search of the lost precision
Date   Thu, 30 Jun 2011 12:04:29 -0700 (PDT)

Hi! 

Is there a way to insheet 0.154143995764484 without losing precision?

I used Stata IC 9.1 for Windows as below

insheet using "C:\data\0.154143995764484.csv", clear
codebook
* It is float, %9.0g, .15414399, not .154143995764484

insheet using "C:\data\0.154143995764484.csv",clear double
codebook
* It is double, %10.0g, .1541439957645, not .154143995764484

Thank you,
Farshad Pourmalek 
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index