Redigera

Dela via


Runtime.DoubleToInt64(Double) Method

Definition

Converts the specified Double value to an Int64.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static long DoubleToInt64(double val);
public static long DoubleToInt64 (double val);
static member DoubleToInt64 : double -> int64
Public Shared Function DoubleToInt64 (val As Double) As Long

Parameters

val
Double

The value to convert.

Returns

val converted to an Int64.

Applies to

See also