MathGroup Archive 2003

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

Search the Archive

Re: Real -> Integer

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44927] Re: Real -> Integer
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 10 Dec 2003 04:01:34 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <br41e4$ita$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

direct from my online-help:

Rationalize[x] takes Real numbers in x that are close to rationals, and
converts them to exact Rational numbers. Rationalize[x, dx] performs the
conversion whenever the error made is smaller in magnitude than dx.

Regards
  Jens

Vladislav Beskrovnyy wrote:
> 
> (* I have sent this message, but I did not find it in the group. That is
> why I repaet it *)
> 
> Hi, group,
> 
> Is there a function in Mathematica, which converts Real numbers into
> Integers? I.e. The fucntion which changes
> 2. into 2
> 2.3 into 23/10
> etc.
> 
> Vlad


  • Prev by Date: RE: DSolve Not Working
  • Next by Date: RE: DSolve Not Working
  • Previous by thread: Re: Real -> Integer
  • Next by thread: DSolve Not Working