max
Use this function to calculate the maximum value of parameters.
Parameters: x, y, z,...
The following formula returns the biggest scale used in drawing views (SCALE1 - 5). As the value is string 1:20 for example, you need to convert the numbers following ":" to integer format before the max comparison.
See also