- TIBCO BusinessEvents®
- Standard
- Math

# Math.maxLong()

## Signature

`long maxLong (long a, long b)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns the greater of two `long` values. That is, the result is the argument closer to the value of `Long.MAX_VALUE`. If the arguments have the same value, the result is that same value.

## Parameters

Name | Type | Description
--- | --- | ---
`a` | `long` | An argument.
`b` | `long` | Another argument.

## Returns

Type | Description
--- | ---
`long` | The larger of `a` and `b`.

## Cautions

none

## See Also

java.lang.Long#MAX_VALUE