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

NameComments
param_nameThe 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.

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

lr.output_message("DoubleParam = "+ d);