Forums / General / is_integer is broken?
Lance Leger
Wednesday 09 July 2003 12:59:19 pm
I'm having difficult using the is_integer operator in the following scenario:
{let scat_h=3.5} {section show=$scat_h|is_integer} test {/section}{/let}
Has anyone successfully used is_integer?
Paul Forsyth
Thursday 10 July 2003 12:42:08 am
Does this work instead?
{let scat_h=3.5} {section show=is_integer($scat_h)} test {/section}{/let}
Friday 11 July 2003 12:46:01 pm
Nope. Perhaps turning on debugging might provide some helpful information.
Friday 11 July 2003 12:54:52 pm
OK.. nevermind this is working now for some reason.