Code example for BigDecimal

Methods: setScale

0
	public String getPax1() {
		return pax1;
	} 
 
	public BigDecimal getTotalComDuasCasasDecimais() {
		return total.setScale(2, RoundingMode.HALF_EVEN);
	} 
 
}