BitConverter.Int32BitsToSingle(Int32) Method

Definition

Reinterprets the specified 32-bit integer as a single-precision floating-point value.

C#
public static float Int32BitsToSingle(int value);

Parameters

value
Int32

The integer to convert.

Returns

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

Applies to

Toode Versioonid
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1