lr.get_attrib_double
Returns a double type value of a parameter passed to the script run.
JavaScript
function lr.get_attrib_double( parameter )
VBScript
Function lr.get_attrib_double( parameter )
Example: Command Line Argument Functions | Command Line Parsing Functions |
Arguments
Name | Comments |
---|---|
parameter | The name of a parameter that can be interpreted as a double value. |
The lr.get_attrib_double function returns the value of an argument of type double precision floating point that was passed to the run of the script. You place the command line parameter's name in the function's argument field and lr.get_attrib_double returns the value of that parameter.
Return Values
On success, returns the value of the parameter. If the parameter does not exist or if its value is not consistent with the type (for example a flag parameter), returns -1.
Parameterization
Standard parameterization is not available for this function.