Nevermind.  As it turns out, it works with a nested <c:out> tag, but not
inline.  I'm pretty sure this has something to do with the way struts
exposes variables vs. the way JSTL does it.

<fmt-rt:formatNumber pattern="#.##">
   <c:out value="${result.avgPoints}"/>
</fmt-rt:formatNumber>



On 9/24/06, Monkeyden <[EMAIL PROTECTED]> wrote:

Using Struts 1.2.9, Tomcat 4, <fmt-rt:number> tag as such:

<fmt-rt:formatNumber value="${result.avgPoints}" pattern="#.##"/>

Getting "In <formatNumber>, value attribute can not be parsed into
java.lang.Number: "${result.avgPoints}"

"avgPoints" is a Float in the object.

Any ideas?

Reply via email to