Converted the truncated doubles to integers