logo SmartSurvey / Scripting Docs
Back to Docs
Operator
<= Less Than or Equal Comparison
<=
Symbol <=
Category Comparison
Precedence 3

Tests whether a response value is less than or equal to a given number. Used for maximum thresholds and upper bound checks.

Syntax
syntax
Qx <= value
Examples
expressions
Q4<=34             -- age is 34 or below
valueof[Q32.1]<=6  -- NPS score is 0–6 (detractor)
timediffof[Q15,Q16]<=60   -- interview lasted at most 60 minutes
Related