BitConverter.SingleToUInt32Bits(Single) Metoda

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Konwertuje określoną liczbę zmiennoprzecinkową o pojedynczej precyzji na 32-bitową liczbę całkowitą bez znaku.

public:
 static System::UInt32 SingleToUInt32Bits(float value);
[System.CLSCompliant(false)]
public static uint SingleToUInt32Bits (float value);
[<System.CLSCompliant(false)>]
static member SingleToUInt32Bits : single -> uint32
Public Shared Function SingleToUInt32Bits (value As Single) As UInteger

Parametry

value
Single

Liczba do przekonwertowania.

Zwraca

UInt32

32-bitowa liczba całkowita bez znaku, której bity są identyczne z value.

Atrybuty

Dotyczy