change quantity fields from int to double