Share this page

# lrc_double

Type Conversion From String

Converts a string into a double.

    double lrc_double( const char* str );

    double* lrc_double_by_ref( const char* str );

str | A character string containing a double.

The lrc_double function returns a double when a character stringcontaining a double is input.

The lrc_double_by_ref function returns pointer to a double when a character string containing a double is input.

## Return Values

lrc Return Values

## Parameterization

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

## Example

This example converts the "150.34" string into the double value 150.34:

    double var = lrc_double("150.34");

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