How can I format a decimal value (e.g. 1.29854) so that it produces a string rounded to 2 decimal places (1.30)?
I'm lost because GWT doesn't support the native Java number formatting classes and I can't find any PlayN support for number formatting.
I've confirmed that, while the following works in the Java version, the HTML version fails to compile:
DecimalFormat df = new DecimalFormat("0.00");
String formattedValue = df.format(1.29854);