COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_float

lrc_float

Example:lrc_float Type Conversion From String

Converts a string into a floating point number.

float lrc_float( const char* str );
float* lrc_float_by_ref( const char* str );
str A character string containing a floating point number.

The lrc_float function returns a floating point number when a character string containing a floating point number is input.

The lrc_float_by_ref function returns a pointer to a floating point number when a character string containing a floating point number is input.

Return Values

lrc Return Values

Parameterization

You cannot use standard parameterization for any arguments in this function.