MathGroup Archive 2005

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

Search the Archive

Re: Converting Rationals into Reals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62073] Re: Converting Rationals into Reals
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Thu, 10 Nov 2005 02:51:58 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 11/9/05 at 3:45 AM, kristophs.post at web.de (kristoph) wrote:

>I would like to know how I can convert rationals into reals with
>four digits. I know this sounds stange but I need the numbers for a
>diagram.

>If anyone knows how to covert a whole list of rationals into into
>four digit reals I would be very happy.

Have you tried NumberForm? For example,

NumberForm[14/3//N,4]

returns 4.667
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: 'Good' or 'Proper' Mathematica coding habits question
  • Next by Date: Re: Read a delimited text file into a mathematica
  • Previous by thread: Re: Converting Rationals into Reals
  • Next by thread: Re: Converting Rationals into Reals