+ Start a Discussion

Need help on below IF statement understanding

<apex:outputPanel>{!IF( OR(prevSize > 0, currentSize > 0), prevSize + 1, 0)} to {!prevSize + currentSize} of {!prevSize + currentSize + nextSize}</apex:outputPanel>

Can any one explain more on IF statement...what exactly it is doing....

Any nhelp on this greatly appreaciated...
Hi Sai, 

Is this code working ?

What is the context of "of" and "to" in the formula?

! Exclamation mark is used to Bind the Value to the Field in the Database Model. 

Looks like it will Display the Out put from AAA Value to BBB value, 

[> Prev or > Curent or >0]  to [  (Prev + Curr ) off (Prev + Current + Next) ]