Re: in JSP: rounding values

2009-07-17 Thread Lukasz Lenart
2009/7/17 mathias-ewald : > Okay, it was just my understanding of the whole thing. I will do as you > suggested. It even will be faster than searching for some strange solution with Struts2 Tags ;-) Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/ Mike Ditka - "If Go

Re: in JSP: rounding values

2009-07-17 Thread mathias-ewald
Okay, it was just my understanding of the whole thing. I will do as you suggested. cu Lukasz Lenart wrote: > > 2009/7/17 mathias-ewald : >> I don't think so - I want the exact value to be shown, too, so it's more >> a UI >> thing. > > As you thing, but that's the business logic and even such

Re: in JSP: rounding values

2009-07-17 Thread Lukasz Lenart
2009/7/17 mathias-ewald : > I don't think so - I want the exact value to be shown, too, so it's more a UI > thing. As you thing, but that's the business logic and even such simple operation shouldn't be performed in UI. Maybe it will be simpler to create TransferObject with original value and roun

Re: in JSP: rounding values

2009-07-17 Thread mathias-ewald
I don't think so - I want the exact value to be shown, too, so it's more a UI thing. Lukasz Lenart wrote: > > 2009/7/17 mathias-ewald : >> I want to round a value during an interation: > > Maybe it will be better to prepare a list on server side with rounded > values and iterate over them? >

Re: in JSP: rounding values

2009-07-16 Thread Lukasz Lenart
2009/7/17 mathias-ewald : > I want to round a value during an interation: Maybe it will be better to prepare a list on server side with rounded values and iterate over them? Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/ Pablo Picasso - "Computers are useless. They

in JSP: rounding values

2009-07-16 Thread mathias-ewald
Hi, I want to round a value during an interation: -- (Min: , Max: ) <% int val = 0; %> --