JavaScript Functions > Alphabetical Listing of Utility Functions (lr) > lr.saveInt

lr.saveInt

Saves an integer to a parameter.

Example String and Parameter Functions

Syntax

lr.saveInt( value, paramName );

Arguments

Argument Comments
value The integer value to assign to the parameter.
paramName The name of the parameter.

The lr.saveInt function converts an integer to a string and saves the string in a parameter. If the parameter does not exist, it is created.

Return Values

Not applicable

Parameterization

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

Example

lr.saveInt( num * 2, "param1" );