min

Returns the smaller of two doubles.

Examples

Find the smaller of 4.65 and 8.91.

min(4.65, 8.91)

Syntax

min(double expr x, double expr y)

Parameters

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

Returns

double

Notes

min determines the smaller of its two arguments.