fastest way to cast from double to float code example Example: java double to float double d = getInfoValueNumeric(); float f = (float)d;