Usage

max(val1, val2)

Description
Returns the greater of the given values. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments. See also min().

Example

${max(5, 8)}

results in

8.0

Graph-Browser

Related Articles
About this article
Last change 2018-05-04
Topics FrontendFunctionsStructr 2.0