Navigation:  Reference > Functions >

MinimumValue()

Print this Topic Previous pageReturn to chapter overviewNext page

 

MIN(1,2)

 

PURPOSE

This function returns the minimum value of the two specified.

PARTS

1 f/c/eRequired - The first value to check, may be of any type other than P or F.

 

2 f/c/eRequired - The second value to check, may be of any type other than P or F.  Part 2 must be the same type as part 1.

 

RETURN TYPE - Variable

The value returned will be of the same type as part 1 & 2.

 

SEE ALSO

MAX()

 

EXAMPLE

define i type i

i = MIN(100,200)

// i = 100

 

define s type a size 10

s = MIN('ABC','DEF')

// s = 'ABC'

 

 

 


Page url: http://www.cassoftware.com/tas/manual/minimumvalue().htm