語言

BitConverter.UInt32BitsToSingle(UInt32) 方法

定義

重要

此 API 不符合 CLS 規範。

將指定的 32 位元無符號整數轉換為單精度浮點數。

public:
 static float UInt32BitsToSingle(System::UInt32 value);
[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

要轉換的數位。

傳回

一個單精度浮點數,其位元與 value相同。

屬性

適用於