I have a problem with my Objective-C code. I would like to have an if
statement in a formula saying that the condition is checked just as if a float
is equal to one of the other 5 I have defined. But shorter and simpler than:
if (float1 == float5 || float1 == float2 || float1 == float3 || float1 == float11)
{
//something to do
}
Thank you very much for your answers.