the meaning of "F" in 10.0f


i’ve seen this a lot and wanna know the meaning of it. sometimes i see a number and a “F” letter beside it. what’s that ?


Everything clunk47 said, and answering your question, the “f” casts the decimal number to a float, otherwise Unity will think it’s a double.