Changed int cast to float.