MathGroup Archive 2006

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

Search the Archive

Re: MemberQ

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68517] Re: [mg68503] MemberQ
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Wed, 9 Aug 2006 04:18:03 -0400 (EDT)
  • References: <200608081028.GAA29635@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Aug 8, 2006, at 6:28 AM, Bruce Colletti wrote:

> Re Mathematica 5.2.0.0.
>
> Since 0.7 is in the set {0.0, 0.1, 0.2,..., 0.9, 1.0}, why does  
> MemberQ[Range[0., 1., .1], .7] return False?

It doesn't for me

In[25]:=
MemberQ[Range[0., 1., .1], .7]
Out[25]=
True

Regards,

Ssezi


  • References:
    • MemberQ
      • From: Bruce Colletti <vze269bv@verizon.net>
  • Prev by Date: Re: Using Map with function that has options...
  • Next by Date: OT arbitrary dimension array for math
  • Previous by thread: MemberQ
  • Next by thread: Re: MemberQ