BitConverter.SingleToUInt32Bits(Single) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Wandelt die angegebene Gleitkommazahl mit einfacher Genauigkeit in eine 32-Bit-ganzzahl ohne Vorzeichen um.

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

Parameter

value
Single

Die zahl, die konvertiert werden soll.

Gibt zurück

Eine 32-Bit-ganzzahl ohne Vorzeichen, deren Bits identisch sind mit value.

Attribute

Gilt für: