MathUtilitiesGetMinMax Method

Gets the minimum and maximum from the specified numbers.

Definition

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static (double min, double max) GetMinMax(
	double a,
	double b
)

Parameters

a  Double
The first number.
b  Double
The second number.

Return Value

ValueTupleDouble, Double
A tuple containing the minimum and maximum of the two specified numbers.

See Also