Dew MtxVec NET
TMtxVec.FloatToInt Methods
Summary
Converts object values from float to integer.

Class
TMtxVec

Declaration
Function FloatToInt(Src: TMtxVec; Rounding: TRounding): TMtxVec;

Description
Converts all Src object elemtents from float to integer. The rounding algorithm is defined by the Rounding parameter. The result is stored as an array of integers to the calling object and the IValues property. The size of the calling object is set automatically.
 See Also 
IntToFloat 
Round 
Trunc 

Declaration
Function FloatToInt(Src: TMtxVec; Rounding: TRounding; SrcIndex, Index, Len: integer): TMtxVec;

Description
Converts Src object elements [SrcIndex]..[SrcIndex+Len-1] from float to integer and store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if ConditionCheck is true and array borders are overrun or underrun.

Copyright 2008 Dew Research
http://www.dewresearch.com