Re: [JSTL] fmt tag

2002-10-14 Thread Shawn Bayern
On Mon, 14 Oct 2002, Henri Yandell wrote: > Does JSTL have to limit itself to NumberFormat? No - indeed, it could specify the behavior you're looking for. It's just a question of whether veering from the simple-to-define-and-describe behavior justifies the extra functionality. I'd suggest mail

Re: [JSTL] fmt tag

2002-10-14 Thread Henri Yandell
On Mon, 14 Oct 2002, Shawn Bayern wrote: > > Am I missing something obvious? > > I believe this kind of generalized mathematical rounding is beyond the > scope of NumberFormat, which engages in rounding only when necessitated by > truncation. You can do what you need to do with Math.round() (b

Re: [JSTL] fmt tag

2002-10-14 Thread Shawn Bayern
On Mon, 14 Oct 2002, Henri Yandell wrote: > Has the following been considered: > > > > which outputs 420 > > Doesn't seem to work for me [I had wild hopes] and it seems > surprisingly hard to find a standard way to do this. I can't fathom a > way to do it using NumberFormat, and there's nothi

[JSTL] fmt tag

2002-10-14 Thread Henri Yandell
As this is a suggestion from my using JSTL I thought it'd be better here. Has the following been considered: which outputs 420 Doesn't seem to work for me [I had wild hopes] and it seems surprisingly hard to find a standard way to do this. I can't fathom a way to do it using NumberFormat, and