max2()

Returns the larger value of two numeric values, or NULL if parameters are invalid.

Syntax:

max2(val1, val2);

where

val1 is any integer or real number.

val2 is any integer or real number.

Example:
decl a;
a = max2(1.5, -1.5);        // a=1.5

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources