{"id":9942,"date":"2016-02-23T13:01:07","date_gmt":"2016-02-23T05:01:07","guid":{"rendered":"http:\/\/localhost\/help\/p2-server\/calculations\/max\/"},"modified":"2024-01-17T10:48:03","modified_gmt":"2024-01-17T02:48:03","slug":"max","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/max\/","title":{"rendered":"Max()"},"content":{"rendered":"\n<h2><span id=\"Format\">Format<\/span><\/h2>\n<p class=\"intro-text\"><strong>Max(Number [,Numbers])<\/strong><\/p>\n<h2><span id=\"Returns\">Returns<\/span><\/h2>\n<p class=\"intro-text\">Returns the maximum value of the variable number of arguments.<\/p>\n<h2>Inputs<\/h2>\n<p class=\"intro-text\"><strong>Number<\/strong>: The argument\u00a0whose values should be processed to find the maximum.<br \/>\n Behaviour: Required<br \/>\n Dimension:\u00a0Collection, SingleValue<br \/>\n Valid\u00a0data types: Decimal, Integer<\/p>\n<p class=\"intro-text\"><strong>Numbers<\/strong>: Additional\u00a0arguments whose values should be processed to find the maximum.<br \/>\n Behaviour:\u00a0Optional (0..n)<br \/>\n Dimension: Collection, SingleValue<br \/>\n Valid data types: Decimal, Integer<\/p>\n<p class=\"left-bar\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/calculation-syntax\/#Data_Type\">How to format data types<\/a><\/p>\n<h2><span id=\"Examples\">Examples<\/span><\/h2>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">Max(1,2)<\/span><br \/>\n Result: Returns 2.<\/p>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">Max<\/span><span class=\"code-fragment\">(3,4,2)<\/span><br \/>\n Result: Returns 4.<\/p>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">Max<\/span><span class=\"code-fragment\">({tag1},{tag2})<\/span><br \/>\n Result: Returns the maximum value of the two tags.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Max() to get the maximum value of the variable number of arguments.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/max\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":9961,"parent":3650,"menu_order":140,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100,384],"class_list":["post-9942","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-calculations","tag-max","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/9942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=9942"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/9942\/revisions"}],"predecessor-version":[{"id":46226,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/9942\/revisions\/46226"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/9961"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=9942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=9942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=9942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}