Why do I sometimes see floats set with an "f"
after the value, for example:
float fRootBeer = 12.0f;
and other times the trailing "f" is omitted?
float fYourBoat = 10.0;
I have seen it both ways (in the same script, even) and can't find any rhyme or reason for the "f" at the end of the value in the first place, let alone why it is used for some but not other float values.
Modifié par Leurnid, 19 mai 2012 - 09:19 .