src/main/java/com/xdavide9/calculatorfx/CalculatorFXController.java
private BigDecimal subtraction(BigDecimal a, BigDecimal b) {
        a = a.subtract(b);
        a = stripDecimalTrailingZeros(a);
        log.info("Result = {}", a);
        return a;
    }
/**
     * Updates a with the difference of a and b.
     * @return a
     */
Updates a with the difference of a and b.
@return a
Updates a with the difference of a and b . @return a
private BigDecimal subtraction(BigDecimal a, BigDecimal b) {
        a = a.subtract(b);
        a = stripDecimalTrailingZeros(a);
        log.info("Result = {}", a);
        return a;
    }
private BigDecimal subtraction ( BigDecimal a , BigDecimal b ) { a = a . subtract ( b ) ; a = stripDecimalTrailingZeros ( a ) ; log . info ( "Result = {}" , a ) ; return a ; }
Updates a with the difference of a and b.
Updates a with the difference of a and b .