Share this page

# lr.save_double

Saves a double value as a parameter.

## JavaScript

    function lr.save_double(  param_name, value  )

## VBScript

    Sub lr.save_double(  param_name, value  )

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
param_name | The parameter in which to save the value
value | A numeric value

The lr.save_double function saves value to parameter param_name. It creates the parameter if it does not exist.

## Return Values

No value returned.

## Parameterization

All input arguments can be parameterized using standard parameterization.

## Example

In the following example, save_double createsparameter`twenty_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>"))

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: