[#BloombergLP-balcl-CommandLineOptionsHandle-theDouble]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle]::theDouble
:relfileprefix: ../../../
:mrdocs:

Return the value of the option having the specified `name`&period;

== Synopsis

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
double
theDouble(std::string&lowbar;view const& name) const;
----

== Description

The behavior is undefined unless this handle object has a `name` option (i&period;e&period;, `0 &lt;&equals; index(name)`), the option has type `double` (i&period;e&period;, `OptionType&colon;&colon;e&lowbar;DOUBLE &equals;&equals; type(name)`), and the option has a value (i&period;e&period;, `false &equals;&equals; value(name)&period;isNull()`)&period;

== Return Value

value of the named option

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| option name to look up
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
