RE: Help with choose, less than zero or not

2004-02-19 Thread Wendy Smoak
From: Kris Schneider [mailto:[EMAIL PROTECTED] Looks like a type conversion issue ;-). Try ${accountView.marketValue lt 0.0}. Section A.3.6.1 of the JSTL 1.0 Spec details the process used WRT relational operators. ?? So you think it's the zero that I typed in the expression rather than

RE: Help with choose, less than zero or not

2004-02-19 Thread Wendy Smoak
From: Wendy Smoak It turns out that I really need this: c:when test=${accountView.marketValue accountView.historicGiftValue} They're both Strings. No wonder it thinks that 76201.31 101000.94! Never mind... I tricked it, with help from Kris and A.3.5.1 which says that if there is a String

RE: Help with choose, less than zero or not

2004-02-19 Thread Kris Schneider
If (accountView.marketValue - accountView.historicGiftValue) produces a Double, then you should be able to just use 0 instead of 0.0 ;-). Quoting Wendy Smoak [EMAIL PROTECTED]: From: Wendy Smoak It turns out that I really need this: c:when test=${accountView.marketValue