(02-09-2012, 05:36 AM)Obliviator27 Wrote: The engine reads those as exactly the same. The f is only used to tell the programmer that it's a float value, though the scripter should know based upon the general function.
The engine doesn't read them the same. Floats are not integers, and floats are not doubles. If you use decimal values but do not provide an f at the end of the number, the game will assume it is a double. If you use whole numbers, the game will assume it is an integer. Providing an f at the end of a decimal number implies less work for the engine since it doesn't have to implicitly convert the number to the proper type.