Method TryGetDecimalValue
| Improve this Doc View SourceTryGetDecimalValue(String, out Decimal)
Try to retrieve the value of a variable in decimal
format.
Declaration
bool TryGetDecimalValue(string variable, out decimal value)
Parameters
Type | Name | Description |
---|---|---|
String | variable | The variable name of the value to try retrieve. |
Decimal | value | The decimal value retrieved or |
Returns
Type | Description |
---|---|
Boolean |
|
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
FormatException |
|