title: Not able to read BigDecimal property in java getter method
body: <p>I am having a property discount=30 in properties file and 
  declaring it as below in jave file :</p>
  
  <pre><code>private BigDecimal discount;
  public void setDiscount(BigDecimal discount) {
      this.discount = discount;
  }
  public BigDecimal getDiscount() {
      return discount;
  }
  </code></pre>
  
  <p>getDiscount() is returning NULL when i try to get its value .
  But I need it as BigDecimal only .
  I dont have to declare it as String or double and type cast it though that will work.
  Using String or double is working fine except for Big Decimal.
  Please help me to fix this or what is the reason BigDecimal is not working in this case ? </p>