+ Start a Discussion
sai_kumar_sfdc1.3903397698928884E12sai_kumar_sfdc1.3903397698928884E12 

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...
Ashish_SFDCAshish_SFDC
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) ]


Regards,
Ashish