TryToDecimal Method
TryToDecimal(out decimal)
Converts the numeric value of this instance to its equivalent decimal representation. A return value indicates whether the operation succeeded.
Declaration
public bool TryToDecimal(out decimal value)
Parameters
decimal | value | When this method returns, contains the decimal equivalent of the number represented by this instance, if the conversion succeeded, or zero if the conversion failed. |
Returns
bool |
|
Remarks
A HBigDecimal value can be converted to decimal if it is greater than or equal to MinValue and less than or equal to MaxValue.