tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Morrison <steve.morri...@verizon.com>
Subject jstl type conversion
Date Thu, 06 Feb 2003 03:19:57 GMT

It seems as if the jstl (1.0.2) coerces all numbers to a Double, where 
really what I want is to keep it as an integer.

<c:set var="height">250</c:set>
<c:out value="${height/2}"/>
returns 125.0.  I'd like it to return just 125 - any hints?

Thanks,
-Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message