V_ItoFV_ItoDV_ItoE
V_BItoFV_BItoDV_BItoE
V_SItoFV_SItoDV_SItoE
V_LItoFV_LItoDV_LItoE
V_QItoFV_QItoDV_QItoE
V_UtoFV_UtoDV_UtoE
V_UBtoFV_UBtoDV_UBtoE
V_UStoFV_UStoDV_UStoE
V_ULtoFV_ULtoDV_ULtoE
V_UItoFV_UItoDV_UItoE
FunctionConvert integer numbers into floating-point data types.
Syntax C/C++#include <VFstd.h>
    (always the include-file belonging to the destination type!)
void V_ItoF( fVector Y, iVector X, ui size );
    (all other functions of this family are similar)
C++ VecObj#include <OptiVec.h>
void vector<float>::ItoF( const vector<int>& Y );
Pascal/Delphiuses VFstd;
    (always the unit belonging to the destination type!)
procedure V_ItoF( Y:fVector; X:iVector; size:UIntSize );
    (all other functions of this family are similar)
DescriptionEach element of X is converted from the data type int, byte, short int, long int, quad, unsigned, unsigned byte, unsigned short, unsigned long, or ui, resp., into the data type float, double, or extended, resp., and stored in Y. For the inverse procedure, i.e. the conversion of floating-point numbers to integers, the functions of the VF_roundtoI,   VF_floortoI,   VF_ceiltoI, and VF_choptoI families have to be used.
Error handlingnone
Return valuenone
See alsoVF_roundtoI,   VF_floortoI,   VF_ceiltoI,   VF_choptoI,   VF_trunctoI,   V_ItoLI

VectorLib Table of Contents  OptiVec home