lr.eval_double

Returns the double value of the parameter.

JavaScript

function lr.eval_double(  param_name  )

VBScript

Function lr.eval_double(  param_name  )
String and Parameter Functions

Arguments

NameComments
param_nameThe parameter to evaluate.

The lr.eval_double function returns the value of the parameter as a double

Return Values

Returns the value of the parameter as a double.

Parameterization

All input arguments can be parameterized using standard parameterization.

Example

In the following example, save_double createsparametertwenty_two and eval_double saves the value to a Double variable and outputs the value using output_message.

Dim dVal as Double
lr.save_double "twenty_two", 22
dVal = lr.eval_double ("<twenty_two>")
lr.output_message "The value of variable dVal is " _
    + Cstr(dVal)
lr.output_message "The value of parameter twenty_two is " _
    + Cstr(lr.eval_double ("<twenty_two>"))