[{"data":1,"prerenderedAt":135},["ShallowReactive",2],{"help-article-\u002Fhelp\u002Fexpressions-and-logic\u002Ffunctions":3},{"id":4,"title":5,"body":6,"category":121,"description":122,"extension":123,"keywords":124,"meta":125,"navigation":126,"order":127,"path":128,"published":129,"rawbody":130,"seo":131,"stem":132,"updated":133,"__hash__":134},"help\u002Fhelp\u002Fexpressions-and-logic\u002Ffunctions.md","Functions",{"type":7,"value":8,"toc":117},"minimark",[9,26,34],[10,11,12,13,17,18,21,22,25],"p",{},"Functions transform and combine values inside an expression. They are always written in capitals, with their inputs in brackets and separated by commas: ",[14,15,16],"code",{},"ROUND(3.7)",", ",[14,19,20],{},"ADD(width, 40)",". You can nest one inside another: ",[14,23,24],{},"MAX(ADD(a, b), 100)",".",[10,27,28,29,33],{},"In the expression editor's ",[30,31,32],"strong",{},"Builder view",", functions are grouped into categories:",[35,36,37,69,93,108],"ul",{},[38,39,40,43,44,17,47,17,50,17,53,17,56,17,59,17,62,65,66,25],"li",{},[30,41,42],{},"Math",": arithmetic and numbers, like ",[14,45,46],{},"ADD",[14,48,49],{},"SUB",[14,51,52],{},"MULT",[14,54,55],{},"DIV",[14,57,58],{},"ROUND",[14,60,61],{},"MIN",[14,63,64],{},"MAX",", and ",[14,67,68],{},"ABS",[38,70,71,74,75,17,78,17,81,17,84,17,87,65,90,25],{},[30,72,73],{},"Logic",": conditions and comparisons, like ",[14,76,77],{},"IF",[14,79,80],{},"AND",[14,82,83],{},"OR",[14,85,86],{},"NOT",[14,88,89],{},"EQUAL",[14,91,92],{},"SWITCH",[38,94,95,98,99,17,102,65,105,25],{},[30,96,97],{},"Color",": adjust colours, like ",[14,100,101],{},"COLOR_LIGHTEN",[14,103,104],{},"COLOR_DARKEN",[14,106,107],{},"COLOR_CONTRAST",[38,109,110,113,114,25],{},[30,111,112],{},"Helpers",": specialised tools, like ",[14,115,116],{},"QR_CODE",{"title":118,"searchDepth":119,"depth":119,"links":120},"",2,[],"expressions-and-logic","Transform and combine values with built-in functions inside expressions.","md",[],{},true,40,"\u002Fhelp\u002Fexpressions-and-logic\u002Ffunctions","2026-05-28","---\ntitle: \"Functions\"\ndescription: \"Transform and combine values with built-in functions inside expressions.\"\ncategory: expressions-and-logic\norder: 40\nkeywords: []\n---\nFunctions transform and combine values inside an expression. They are always written in capitals, with their inputs in brackets and separated by commas: `ROUND(3.7)`, `ADD(width, 40)`. You can nest one inside another: `MAX(ADD(a, b), 100)`.\n\nIn the expression editor's **Builder view**, functions are grouped into categories:\n\n- **Math**: arithmetic and numbers, like `ADD`, `SUB`, `MULT`, `DIV`, `ROUND`, `MIN`, `MAX`, and `ABS`.\n- **Logic**: conditions and comparisons, like `IF`, `AND`, `OR`, `NOT`, `EQUAL`, and `SWITCH`.\n- **Color**: adjust colours, like `COLOR_LIGHTEN`, `COLOR_DARKEN`, and `COLOR_CONTRAST`.\n- **Helpers**: specialised tools, like `QR_CODE`.\n",{"title":5,"description":122},"help\u002Fexpressions-and-logic\u002Ffunctions","2026-06-16","j2M1Yf-QK-a0Z2ppqlzkNDiBMGQZZllSALDxPd-qqsc",1789734278675]