Java uses suffixes with these primitives types, here is a brief intro:
float
float fVariable = 5.5
is by default double while float fVariable = 5.5f
makes it float
long
long lVariable = 55
here literal 55 is by default int type but long lVariable = 55l
makes it long type.
double
double dVariable = 5.5
and double dVariable = 5.5d
are similar but here d suffix is optional