at_most
Limit the number to its maximum value; if the input parameter type is incorrect, convert the parameter to a number and then compare.
Params
number{Number}Enter a number, requiredmax{Number}Maximum Value, requiredreturns{Number}Return a number
Usage
{{ at_most number max }}
Example
{{ at_most 4 5 }}
{{ at_most 4 3 }}
Was this article helpful to you?