Returns the parameter 2 number if the boolean expression in parameter 1 is True. If the boolean expression is not True, it returns the parameter 3 number.
See Conditional Expressions.
=NumberIf(%INDI.SEX% = "Male",21,17)