HotDocs Author WorkflowCreate a template Add placeholders Group variables in dialogs Upload a template Create a script

NUM > NUM Operator

The NUM > NUM operator returns a value of true if the first number value is greater than the second number value.

You can use the NUM > NUM operator to form conditions for IF statements. This can be useful in determining template logic.

Operator Model After you drag and drop the model into the script tab: Expression returns:
> ⟦NUM⟧ > ⟦NUM⟧   Replace both ⟦NUM⟧ placeholders with a numeric value you want to compare the other to. A true/false value.


The following script does something if the Number variable numvarNU is greater than 1.

IF numvarNU > 1
//do something