If
  

Returns value incident to logical condition.

syntax
If(condition;number1;number2)
condition - logical value: 1(True) or 0(False)
number1 - value of result when condition = 1
number2 - value of result when condition = 0

example
If(1==1;10;20) = 10
If(1>2;10;20) = 20
If(4+2>3;Sin(Pi);Cos(Pi)) = Sin(Pi) = 0,05480367