Returns a double type value of a parameter passed to the script run.


function lr.get_attrib_double(  parameter  )


Function lr.get_attrib_double(  parameter  )
Example: Command Line Argument FunctionsCommand Line Parsing Functions


parameterThe 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.


Standard parameterization is not available for this function.