ConvertToDecimal Method (Int32) |
Converts the value of the specified 32-bit signed integer to an equivalent decimal number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static decimal ToDecimal(
int value
)
Parameters
- value
- Type: SystemInt32
The 32-bit signed integer to convert.
Return Value
Type:
DecimalA decimal number that is equivalent to
value.
See Also