float literals are defined by using the suffix F or f, or by using a real number:
float
float f = 30.5F;