Table of Contents

Field MaxIntAsFloat

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

Represents the maximum value of a 32-bit signed integer as a floating-point number.

public const float MaxIntAsFloat = 2.1474836E+09

Returns

float
Represents the maximum value of a 32-bit signed integer as a floating-point number.

Remarks

This constant is useful when working with APIs or calculations that require the maximum value of an int in the form of a float. The value is equivalent to (float)int.MaxValue.