Convert some variables from float to unsigned int