From Game Editor

Jump to: navigation, search

float is about like int. There is one difference, floats handle decimals. Example:

float A;
A = 1.7;

The value of A has been made to 1.7

float represents a floating-point variable of 7 digit precision. For higher precision, use a double, which also represents a floating-point with double precision.