Table of Contents

Method AsUInt

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AsUInt(float)

Converts the specified single-precision floating-point number to its equivalent 32-bit unsigned integer representation.

public static uint AsUInt(float value)

Parameters

value float

The single-precision floating-point number to convert.

Returns

uint

The 32-bit unsigned integer representation of the specified floating-point number.

Remarks

This method performs a bitwise reinterpretation of the floating-point value as an unsigned integer. The result depends on the internal binary representation of the input value.