BitConverter.Int32BitsToSingle(Int32) Method

Definition

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

Parameters

value
Int32

The integer to convert.

Returns

A single-precision floating-point value that represents the converted integer.

Applies to