Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Is there a simple way to transform 1.1 to 11/10

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93125] Re: Is there a simple way to transform 1.1 to 11/10
  • From: Alain Cochard <alain at geophysik.uni-muenchen.de>
  • Date: Mon, 27 Oct 2008 03:14:02 -0500 (EST)
  • Organization: Universites Paris VI/Paris VII - France
  • References: <200810240629.CAA22968@smc.vnet.net> <6ED845A5-F77F-42AE-A3EF-E8A15F2DCA10@mimuw.edu.pl> <18689.46568.972349.540344@frac.u-strasbg.fr> <8C37CE0B-6BE6-47CE-B698-8363ABF27BF4@mimuw.edu.pl> <0061C0C7-4D40-4D33-964A-81FBB338A52A@mimuw.edu.pl> <730D4D3D-4AA2-41A7-9E21-DA23A0694D7A@mimuw.edu.pl> <18689.54940.101.812951@frac.u-strasbg.fr> <gdug9p$jp0$1@smc.vnet.net>

Andrzej Kozlowski <akoz at mimuw.edu.pl> writes:

>> Andrzej Kozlowski writes:
>>
>>> One more (I hope final) remark. Another, perhaps simpler way, is to
>>> include just one extra zero (that should not be very hard):
>>
>> If you are talking about inputs, I agree; in this case it appears to
>> me similar to inputting strings.
>
> I meant input. I do not really understand what you are doing and why  
> writing 1.00000000000000010 is much harder than writing  
> 1.0000000000000001. 

No, it is not.  I just wanted to be sure you were talking about input.
I'll prefer the string approach since I can see by myself why it will
never fail.  

I need to think more about the case of numbers coming out from Mathematica
computations.  So I consider my initial problem --that of inputs--
solved, and I warmly thank everybody.

> Is this entire discussion motivated by your desire to avoid pressing
> keys on your keyboard?

That's one way to put it.  I'd rather say that I like elegant
solutions.  Anyway, transforming a lot of such numbers is error prone
and way too time consuming, to the extent that it simply cannot be
done.

a.


  • Prev by Date: Re: PrintTemporary
  • Next by Date: Re: nested derivatives
  • Previous by thread: Re: Is there a simple way to transform 1.1 to
  • Next by thread: Re: Re: Is there a simple way to transform 1.1 to 11/10