Skip to content

UInt24.MaxMagnitudeNumber Method ​

Definition ​

Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.

c#
public static UInt24 MaxMagnitudeNumber(UInt24 x, UInt24 y);

View source

Parameters ​

NameTypeDescription
xUInt24The value to compare with y.
yUInt24The value to compare with x.

Returns ​

UInt24

x if it has a greater magnitude than y; otherwise, y.