Hi Zeldor,
you could register a custom converter for Double type which displays
value with the desired precision. Take a look at this page
https://cwiki.apache.org/WICKET/using-custom-converters.html, example
for Wicket 1.3 is what you need.
Hi,
I have labels showing data that is in Double format, but I don't need so
much precision in UI. Can I easily make my page round those values [down]
and display just numbers without fraction?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Rounding-values-for-display-tp3584858p3584858.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org