Fixed data type error (converting between ints and floats)