Re: Real -> Integer
- To: mathgroup at smc.vnet.net
- Subject: [mg44929] Re: Real -> Integer
- From: "Mark Westwood [EPCC]" <markw at epcc.ed.ac.uk>
- Date: Wed, 10 Dec 2003 04:01:35 -0500 (EST)
- Organization: Edinburgh University
- References: <br41e4$ita$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Vlad Take a look at the functions Round[] and Rationalize[]. Regards Mark 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 > >