Java.Lang.StrictMath.Max Method
Returns the most positive (closest to positive infinity) of the two arguments.

Syntax

[Android.Runtime.Register("max", "(DD)D", "")]
public static double Max (double d1, double d2)

Parameters

d1
Documentation for this section has not yet been entered.
d2
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the most positive (closest to positive infinity) of the two arguments.

Special cases:

  • max(NaN, (anything)) = NaN
  • max((anything), NaN) = NaN
  • max(+0.0, -0.0) = +0.0
  • max(-0.0, +0.0) = +0.0

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1