Difference between revisions of "FloatToInt"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=FloatToInt
 
|name=FloatToInt

Latest revision as of 00:22, 20 February 2010

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