<dtml-try>
<dtml-if "_.int(variable) = variable">
    Variable is integer
<dtml-else>
    Variable is not integer
</dtml-if>
<dtml-except>
    Variable is not number
</dtml-try>
----- Original Message ----- 
From: "Garry Saddington" <garry at schoolteachers.co.uk>
> Is there any way to do data type checking in dtml-if, for example to check
> that a variable is an integer?