BitConverter.Int32BitsToSingle(Int32) 方法

定义

将指定的 32 位整数重新解释为单精度浮点值。Reinterprets the specified 32-bit integer as a single-precision floating-point value.

public:
 static float Int32BitsToSingle(int value);
public static float Int32BitsToSingle (int value);
static member Int32BitsToSingle : int -> single
Public Shared Function Int32BitsToSingle (value As Integer) As Single

参数

value
Int32

要转换的整数。The integer to convert.

返回

Single

表示已转换整数的单精度浮点值。A single-precision floating-point value that represents the converted integer.

适用于