if (detailsRegenyear1.cash1 >=(461,470)
i am trying to make it so if detailsRegenyear1.cash1 is greater than 461,462,463,464,465,466,467,468,469 and 470
if (detailsRegenyear1.cash1 >=(461,470)
i am trying to make it so if detailsRegenyear1.cash1 is greater than 461,462,463,464,465,466,467,468,469 and 470
I think he means
if(detailsRegenyear1.cash1>=461 && detailsRegenyear1.cash1<471){
something
something
another
}
Take out the comma. And sort out the brackets.
if (detailsRegenyear1.cash1 >= 461470)
{ do something(); }