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.

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

View source

Parameters

Name Type Description
x UInt24 The value to compare with y.
y UInt24 The value to compare with x.

Returns

UInt24

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