Click or drag to resize
ConvertToDecimal Method (Int64)
Converts the value of the specified 64-bit signed integer to an equivalent decimal number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static decimal ToDecimal(
	long value
)

Parameters

value
Type: SystemInt64
The 64-bit signed integer to convert.

Return Value

Type: Decimal
A decimal number that is equivalent to value.
See Also