Code example for BigDecimal

Methods: setScale

0
	public String getPax1() {
		return pax1;
	} 
 
	public BigDecimal getTotalComDuasCasasDecimais() {
		return total.setScale(2, RoundingMode.HALF_EVEN);
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE