Homeworld Effects Manual: float2Int()
int float2Int(float value)
Converts a float to an int.
The float is truncated, not rounded. Don't forget to assign the value this function returns to a variable.