Type: Posts; User: Sean4u
Read the API docs for java.text.DecimalFormat, it has a bit on rounding which may solve your problem.