Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: (2/3)[[1]]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96399] Re: [mg96341] (2/3)[[1]]
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 13 Feb 2009 03:39:32 -0500 (EST)
  • Reply-to: hanlonr at cox.net

AtomQ[2/3]

True

Numerator[2/3]

2

Denominator[2/3]

3


Bob Hanlon

---- obott0 at gmail.com wrote: 

=============
I'm not sure if this has been asked before, but why can't Part be used
with Rational?

i.e. (2/3)[[1]]

Thanks.



  • Prev by Date: Default Input / Output and TraditionalForm
  • Next by Date: Re: (2/3)[[1]]
  • Previous by thread: Re: (2/3)[[1]]
  • Next by thread: Re: (2/3)[[1]]