संपादित करें

इसके माध्यम से साझा किया गया


Half.ConvertToInteger<TInteger>(Half) Method

Definition

Converts a value to a specified integer type using saturation on overflow

public:
generic <typename TInteger>
 where TInteger : System::Numerics::IBinaryInteger<TInteger> static TInteger ConvertToInteger(Half value) = System::Numerics::IFloatingPoint<Half>::ConvertToInteger;
public static TInteger ConvertToInteger<TInteger> (Half value) where TInteger : System.Numerics.IBinaryInteger<TInteger>;
static member ConvertToInteger : Half -> 'Integer (requires 'Integer :> System.Numerics.IBinaryInteger<'Integer>)
Public Shared Function ConvertToInteger(Of TInteger As IBinaryInteger(Of TInteger)) (value As Half) As TInteger

Type Parameters

TInteger

The integer type to which value is converted.

Parameters

value
Half

The value to be converted.

Returns

TInteger

An instance of TInteger created from value.

Implements

Applies to