BitConverter.UInt32BitsToSingle(UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Converts the specified 32-bit unsigned integer to a single-precision floating point number.
public:
static float UInt32BitsToSingle(System::UInt32 value);
C#
[System.CLSCompliant(false)]
public static float UInt32BitsToSingle(uint value);
[<System.CLSCompliant(false)>]
static member UInt32BitsToSingle : uint32 -> single
Public Shared Function UInt32BitsToSingle (value As UInteger) As Single
- value
- UInt32
The number to convert.
A single-precision floating point number whose bits are identical to value
.
- Attributes
Product | Versions |
---|---|
.NET | 6, 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: