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

lrc_variant_float

Example: lrc_variant_float Assignment to Variants

Assigns a string to a float-type value stored in a variant.

VARIANT lrc_variant_float( const char* str );
VARIANT lrc_variant_float_by_variant( const char* str ); 
str A character string representing a float-type floating point value.

The lrc_variant_float function converts a string to a float-type value stored in a variant.

The lrc_variant_float_by_variant function converts a string to a float-type value and returns a variant containing a reference to the variant containing the value.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.