Utility Functions and C Language Reference > Utility Functions: .NET (lr.) > Alphabetical Listing > lr.get_attrib_double

lr.get_attrib_double

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

C#

double lr.get_attrib_double( string argument_name );

VB.NET

Function lr.get_attrib_double( ByVal argument_name As String    ) as Double
Example: lr.get_attrib_double Command Line Parsing Functions
Name Comments
argument_name 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.

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

Return Values

The value of the argument. If the argument does not exist or if its value is not consistent with the double data type, returns -1.

Parameterization

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