FloatToInt

From Dragon Age Toolset Wiki
Revision as of 00:22, 20 February 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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