is_integer is broken?

Author Message

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}

Lance Leger

Friday 11 July 2003 12:46:01 pm

Nope. Perhaps turning on debugging might provide some helpful information.

Lance Leger

Friday 11 July 2003 12:54:52 pm

OK.. nevermind this is working now for some reason.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.