[if.not_num Variable_Name]
//** Do something **//
[/if.not_num]
Input Parameters
:
variable which needs to be check.
Return Value
:
It does not return anything
Example
:
Code
:
XHTML
1
2
3
4
[template.setvar_num="200"/]
[if.not_numtemplate.var_num]
[template.setstr="var_num is not number"/]
[/if.not_num]
Output
:
in var_num is number then set str as “var_num is not number”
Description
:
In the example, var_num variable is declared and there is store value 200. As the variable is number, then if num condition will get satisfied and the logic inside will get executed.