Add validation for BigDecimal value in appendTo() method.