BitConverter.SingleToUInt32Bits(Single) Method

Definition

Important

This API is not CLS-compliant.

Converts the specified single-precision floating point number to a 32-bit unsigned integer.

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

Parameters

value
Single

The number to convert.

Returns

A 32-bit unsigned integer whose bits are identical to value.

Attributes

Applies to