MathGroup Archive 2006

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

Search the Archive

Re: MemberQ


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


  • 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