Fixed data type from int to double