Changed datatype of Quantity from int to decimal.