Click or drag to resize

Int128  Conversion (Double to Int128)

Converts a floating-point value into a 128-bit integer.

Namespace:  Meta.Numerics.Extended
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static explicit operator Int128 (
	double x
)

Parameters

x
Type: SystemDouble
The floating-point number to convert.

Return Value

Type: Int128
The lower 128 bits of the integer part of the floating-point number.
Exceptions
ExceptionCondition
InvalidCastExceptionx is NaN, or infinite.
See Also