2011年5月10日 - round double to two decimal places in java .... Math.round(number*100.0)/100.0; ...
stackoverflow.com