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
public static long DoubleToInt64Bits(
 double value
public: static __int64 DoubleToInt64Bits(
 double value
public static function DoubleToInt64Bits(
   value : double
) : long;


The number to convert.

Return Value

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


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