Logic Tags
Tag intops


This tag evaluates an integer expression and stores the result as an integer in memory.


Tag Information
Tag Nameintops

Attributes
NameTypeRequiredDefault ValueDescription
exprstringtruenullAn integer value or a tag variable, followed by an arithmetic operator, and then another integer value or tag variable. Spaces can be added around the comparator for legibility if desired. The tag variables must evaluate to an integer and be in $ attribute notation surrounded by parentheses. The following operators are allowed: '+', '-', '*','/', and '%'.
keystringtruenullThe key used to store the result in memory.
scopestringfalseportlet requestThe scope used to store the result in memory. See the Logic tag library description for details about valid scope arguments.


Copyright 2005 Plumtree Software, Inc.