top of page

40. Use an UNANSWERED Variable in a Calculation

Description

How to include variables which might be UNANSWERED in a mathematic formula.

Code

ZERO( NumVar1 ) + ZERO( NumVar2 ) + ZERO( NumVar3 )

Explanation

The ZERO model will automatically treat an unanswered variable as 0 purposes of a calculation (it does not SET the variable to 0).

bottom of page