MAXVAL Function

Purpose

Returns the maximum value that its operand can assume.

Syntax

MAXVAL(x)

Parameters

x
An expression.

Description

MAXVAL returns the maximum value that the type and precision of x allows. When x is type FLOAT, MAXVAL is equivalent to HUGE(x).