ToDecimal Method
ToDecimal()
Converts the numeric value of this instance to its equivalent decimal representation.
Declaration
public decimal ToDecimal()
Returns
decimal | The decimal representation of this instance. |
Exceptions
OverflowException | This instance represents a number that is less than MinValue or greater than MaxValue. |