Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Bug Report - Two numerical values for a same variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54271] Re: Bug Report - Two numerical values for a same variable
  • From: Scott Hemphill <hemphill at hemphills.net>
  • Date: Mon, 14 Feb 2005 23:38:21 -0500 (EST)
  • References: <00ed01c512b0$2f242850$6400a8c0@Main> <curpbn$r28$1@smc.vnet.net>
  • Reply-to: hemphill at alumni.caltech.edu
  • Sender: owner-wri-mathgroup at wolfram.com

DrBob <drbob at bigfoot.com> writes:

> That explains it, but only in the sense that "things fall down" is a theory of gravity. Why should Rationals be atomic, for goodness sake? And how did I use Mathematica all this time without hearing about it?
> 
> Sigh...


In[1]:= FullForm[1/2]

Out[1]//FullForm= Rational[1, 2]

In[2]:= 1/2 /. Rational[x_,2] -> Rational[x,7]

        1
Out[2]= -
        7

Scott
-- 
Scott Hemphill	hemphill at alumni.caltech.edu
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear


  • Prev by Date: Re: Mathematica 2.23 won't run on XP
  • Next by Date: Re: Missing Graphics
  • Previous by thread: Re: Bug Report - Two numerical values for a same variable
  • Next by thread: Re: Re: Bug Report - Two numerical values for a same variable