Method TryGetDecimalValue
| Improve this Doc View SourceTryGetDecimalValue(String, out Decimal)
Try to retrieve the value of a variable in decimal format.
Declaration
public virtual 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 |
|
Implements
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| FormatException |
|