Decimal ExplicitNarrowingExplicitExplicitExplicit Conversion (Double to Decimal)
Defines an explicit conversion of a double-precision floating-point number to a Decimal.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- value
- Type: System..::..Double
The double-precision floating-point number to convert.
Return Value
The converted double-precision floating point number.Exceptions
Exception | Condition |
---|---|
System..::..OverflowException | value is less than MinValue or greater than MaxValue.-or- value is NaN, PositiveInfinity, or NegativeInfinity. |