This documentation is archived and is not being maintained.

BitConverter.DoubleToInt64Bits Method

Converts the specified double-precision floating point number to a 64-bit signed integer.

[Visual Basic]
Public Shared Function DoubleToInt64Bits( _
   ByVal value As Double _
) As Long
[C#]
public static long DoubleToInt64Bits(
 double value
);
[C++]
public: static __int64 DoubleToInt64Bits(
 double value
);
[JScript]
public static function DoubleToInt64Bits(
   value : double
) : long;

Parameters

value
The number to convert.

Return Value

A 64-bit signed integer whose value is equivalent to value.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

BitConverter Class | BitConverter Members | System Namespace

Show: