Translations:ExpressionScript Engine - Quick start guide/103/en
From LimeSurvey Manual
In the below image, weightstatus uses nested "if()" statements to categorize the person as underweight to severely obese. You can see its equation by checking its logic: