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

C Language

double lr_get_attrib_double( char *argument_name );
Example: lr_get_attrib_double / lr.get_attrib_doubleCommand Line Parsing Functions

Java Language

double lr.get_attrib_double( String argument_name );
Example: lr.get_attrib_doubleCommand Line Parsing FunctionsJava Syntax


argument_nameThe name of an argument 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.

To view the arguments passed to a script run, see mdrv_cmd.txt in the script folder.

Return Values

If this function succeeds, it returns the value of the argument. If the parameter does not exist or if its value is not consistent with the type (for example a flag parameter), the function returns -1.


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