FloatToInt

From Dragon Age Toolset Wiki
Jump to: navigation, search

Converts a floating point number to an integer.

int FloatToInt(
float fFloat
);
Parameters:
fFloat
The floating point number to convert
Returns:

An integer representation of the float fFloat.

Source:

script.ldf

Description

Returns the float fFloat in integer format. Any digits after the decimal point are dropped.


See also

IntToFloat, FloatToString