BitConverter.SingleToUInt32Bits(Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 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相同。
- 屬性