Previous Topic

Next Topic

Book Contents

Max

Max

Characteristic

Description

Returns

Larger of two specified numbers.

Return type

Data type of the parameter you enter.

Syntax

Math.Max(a, b)

Parameters

  • Parameter—a
  • Definition—The value of the first number to compare.
  • Data type—Any numeric data type.

 

  • Parameter—b
  • Definition—The value of the second number to compare.
  • Data type—Any numeric data type.

Send Feedback