Share this page

# lr.eval_double

Returns the double value of the parameter.

## C#

    double lr.eval_double( string param_name );

## VB.NET

    Function lr.eval_ByVal( ByVal param_name As String   ) as Double

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
param_name | The parameter to evaluate, in parameter brackets.

The lr.eval_double function returns the value of the parameter.

## Return Values

The value of the parameter. If the value of the parameter cannot be represented as a double, returns 0.0.

## Parameterization

Standard parameterization is not available for this function.

## Example

The following example sends the value of a double format parameter to the output.

Copy code

    double d=lr.eval_double("{DoubleParam}");
    lr.output_message("DoubleParam = "+ d);

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: