IntToFloat

IntToFloat(int)
Converts a number without a decimal into a number with decimal.

float IntToFloat(    int nInteger );

Parameters

 * int nInteger
 * The integer to convert to a float

Description
Convert interger into the nearest float.

Remarks
The Toolset is able to convert integers into floats without usage of this function, simply by making mathematical operations between a float and an integer.