Difference between revisions of "FloatToInt"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
(looks okay, removing tag)
 
(One intermediate revision by the same user not shown)
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