Divide with float java by //Just convert any one value to float float resultValue = (float)firstValue / secondValue;