BitConverter.SingleToUInt32Bits(Single) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Konverterar det angivna flyttalnumret med enkel precision till ett 32-bitars osignerat heltal.

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

Parametrar

value
Single

Talet som ska konverteras.

Returer

Ett 32-bitars osignerat heltal vars bitar är identiska med value.

Attribut

Gäller för