Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System
BitConverter Class
Methods
 DoubleToInt64Bits Method
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
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

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker