Les på engelsk Rediger

Del via


BitConverter.Int32BitsToSingle(Int32) Method

Definition

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

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

Produkt Versjoner
.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