Displaying 2 results from an estimated 2 matches for "contidions".
Did you mean:
contidion
2009 Sep 27
2
Check value interval in a if loop
Hi R community
I have a little problem, and I tried to solve it by myself but I couldn't. I building an if loop, and I want to check a value inside an interval. This would be the case:
pvalue=0,2999
if(pvalue>0.05 or pvalue<0.1)
as you can see I would like to check in that if loop if my pvalue is inside of that interval(from 0.05 to 0.1), and I tried these options:
if(pvalue>0.05
2006 Feb 03
4
contoller code mysteries
In my controller...this code works
def list2
first_name = params[:client][:first_name]
@myclients = Client.find(:all, :conditions =>
["first_name = :first_name", {:first_name => first_name}])
end
this code doesn''t...
def list2
first_name = params[:client][:first_name]
if first_name
searchstring = ''["first_name =