Re: Is there a simple way to transform 1.1 to 11/10?
- To: mathgroup at smc.vnet.net
- Subject: [mg92999] Re: Is there a simple way to transform 1.1 to 11/10?
- From: appris at att.net
- Date: Wed, 22 Oct 2008 05:39:59 -0400 (EDT)
- References: <gdkajv$4r2$1@smc.vnet.net>
Accorindg to Mathematica's documentation: Rationalize[x,0] gives a rational number equivalent to x up to the precision of x. So, in your case, try, In[1]:= Rationalize[1.00000000100000000000, 0] Out[1]= 1000000001/1000000000 In[2]:= N[%, 20] Out[2]= 1.0000000010000000000