BitConverter.SingleToInt32Bits(Single) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a single-precision floating-point value into an integer.
public:
static int SingleToInt32Bits(float value);
public static int SingleToInt32Bits(float value);
static member SingleToInt32Bits : single -> int
Public Shared Function SingleToInt32Bits (value As Single) As Integer
- value
- Single
The single-precision floating-point value to convert.
An integer representing the converted single-precision floating-point value.
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 |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: