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 readonly 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
Boolean |
|
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.