MathGroup Archive 2005

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

Search the Archive

Re: Converting Rationals into Reals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62053] Re: [mg62020] Converting Rationals into Reals
  • From: Pratik Desai <pdesai1 at umbc.edu>
  • Date: Thu, 10 Nov 2005 02:50:34 -0500 (EST)
  • References: <200511090845.DAA17414@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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.
>
>Thank you very much for help.
>Kristoph
>
>  
>
Maybe using N

N[1/2,4]

Hope this helps

Pratik  .

Pratik Desai
Graduate Student
UMBC
Department of Mechanical Engineering
Phone: 410 455 8134



  • Prev by Date: Re: Read a delimited text file into a mathematica
  • Next by Date: Re: ((a&&b)||c)==((a||c)&&(b||c))
  • Previous by thread: Converting Rationals into Reals
  • Next by thread: Re: Converting Rationals into Reals