divideof[Qa,Qb]
Arithmetic
Returns the quotient of dividing the response of Qa by the response of Qb. Use for ratio calculations between two numeric questions.
Parameters
| Parameter | Type | Description |
|---|---|---|
Qa |
Question ref | Numerator question |
Qb |
Question ref | Denominator question (must not be zero) |
Returns: Number — Qa divided by Qb
Examples
expressions
divideof[Q4,Q5]>=2 -- Q4 is at least twice Q5
Ensure Qb cannot be 0. Add a validation rule to prevent zero entry for the denominator question.