Method TryGetFloatValue
| Improve this Doc View SourceTryGetFloatValue(String, out Single)
Try to retrieve the value of a variable in float
format.
Declaration
public virtual bool TryGetFloatValue(string variable, out float value)
Parameters
Type | Name | Description |
---|---|---|
String | variable | The variable name of the value to try retrieve. |
Single | value | The float value retrieved or |
Returns
Type | Description |
---|---|
Boolean |
|
Implements
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
FormatException |
|