Vojtech Knyttl created FREEMARKER-86:
----------------------------------------

             Summary: min(x,y) and max(x,y)
                 Key: FREEMARKER-86
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-86
             Project: Apache Freemarker
          Issue Type: Improvement
          Components: engine
            Reporter: Vojtech Knyttl


It would be great to have these two builtins for numbers. At the moment, I have 
to create functions like:

                        <#function max(a, b)>
                            <#return (a > b)?then(a, b)>
                        </#function>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to