public static BigDecimal roundTo ( final BigDecimal bd , final int numberOfDecPlaces , final int finalScale ) { return setScale ( setScale ( bd , numberOfDecPlaces , BigDecimal . ROUND_HALF_UP ) , finalScale ) ; }
returns a new BigDecimal with correct scale after being round to n dec places .