語言

BitConverter.SingleToUInt32Bits(Single) 方法

定義

重要

此 API 不符合 CLS 規範。

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

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

參數

value
Single

要轉換的數位。

傳回

一個 32 位元無符號整數,其位元與 value相同。

屬性

適用於