Converts a float to a decimal .
- value
- The float value to be converted.
value as a decimal. The decimal contains 7 significant digits and is rounded using banker's rounding.
Type Reason OverflowException The numeric value of value is greater than decimal.MaxValue or less than decimal.MinValue.
Documentation for this section has not yet been entered.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0