max

Returns the larger of two doubles.

Examples

Find the larger of 4.65 and 8.91.

max(4.65, 8.91)

Syntax

max(double expr x, double expr y)

Parameters

  • x : expression returning double
  • y : expression returning double

Returns

double

Notes

max determines the larger of its two arguments.


© Incorta, Inc. All Rights Reserved.