Hello, I have been interfacing to another program using the .NET interface, and found that real values which at their source have at least 7 digits of precision are being rounded. That lead me to read them as strings and apply ToExpression, with the same result.Since ToExpression uses input rules, i tried just a direct keyboard input, with the same results. Have I forgotten something? Can anyone tell me why I am failing to get a real number of 7 digits into Mathematica? I'm on the current release of 10 on win 7.
In[1]:= real = 39.99998
Out[1]= 40.
In[2]:= N[real, 15]
Out[2]= 40.
In[3]:= 100000 real
Out[3]= 4.*10^6
In[4]:= Precision[real]
Out[4]= MachinePrecision
In[5]:= $MachinePrecision
Out[5]= 15.9546