Bridge

Decimal..::..ToInt64 Method

Converts the value of the specified Decimal to the equivalent 64-bit signed integer.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static long ToInt64(
	decimal value
)
<TemplateAttribute> _
Public Shared Function ToInt64 ( _
	value As Decimal _
) As Long
[TemplateAttribute]
public:
static long long^ ToInt64(
	Decimal^ value
)

Parameters

value
Type: System..::..Decimal

Return Value

A 64-bit signed integer equivalent to the value of d.

Exceptions


ExceptionCondition
System..::..OverflowExceptiond is less than MinValue or greater than MaxValue.