Share this page

# lrc_variant_double

Assignment to Variants

Assigns a string into a double-type value in a variant.

    VARIANT lrc_variant_double( const char* str );

    VARIANT lrc_variant_double_by_variant( const char* str );

str | A character string representing a double -type floating point value.

The lrc_variant_double function converts a string to a double-type floating point value stored in a variant.

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

## Return Values

lrc Return Values

## Parameterization

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

## Example

This example assigns the string into a double-type value stored in a variant.

    VARIANT var = lrc_variant_double("21352.213");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: