Added automatic truncation of floats when integers are expected