I need the getter to return a double to .2 decimal spaces...
public double getPrice () {
double totalPrice = 0.00;
DecimalFormat deciFormat = new DecimalFormat("#.00");
...
return Double.valueOf(deciFormat.format(totalPrice));
but when I check the result in my .jsp it's still only to 1 decimal space. Any and all insight would be greatly appreciated.