LassoScript Utility
Basics Browse Detail

[Math_Max]

Tag Link [Math_Max] Category Math
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type Decimal or Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

[Math_Max] returns the maximum of two parameters.

Syntax

[Math_MaxInteger or Decimal Value
  Integer or Decimal Value]

Parameters

Required Parameters
Integer or Decimal Value The value to be compared.
Integer or Decimal Value The value to be compared.

Examples

To find the maximum of two numbers:

Use the [Math_Max] tag. The following example finds the maximum of two values.

[Math_Max: -1, 100]

100