Expressions

/Expressions
You are here:
< Back

Expressions

Expressions allow you to operate on number, texts, lists and other elements available on your K2 views and forms. This document describes the sections that are supported and which of the expressions in those sections are supported. What the actual expressions do can be found in the K2 documentation.

At the moment of writing this document, we only support expressions that are transferred to a control using a transfer data. Setting an expression directly on a control is not yet supported.

Conversion

  • To Boolean
  • To Date
  • To Date and Time
  • To DateTime
  • To Decimal
  • To Number
  • To Text
  • To Time Duration From Milliseconds

List Aggregators

  • List Average
  • List Count
  • List Maximum
  • List Minimum
  • List Sum

Logical

  • And
  • Equals
  • Greater Than
  • Greater Than Or Equals
  • If
  • Less Than
  • Less Than Or Equals
  • Not
  • Not Equals
  • Or
  • Xor
  • False
  • True

Mathematical

  • Absolute
  • Format Number
  • Power
  • Random
  • Root
  • Round
  • Round Down
  • Round Up
  • Square
  • Square Root

Operators

  • Divide
  • Minus
  • Modulus
  • Multiply
  • Plus
  • Opening Parenthesis
  • Closing Parenthesis

Regular Expressions

  • Matches
  • Not Matches

Text

  • Concatenate
  • Replace (v 2.5)

Value Aggregators

  • Average
  • Maximum
  • Minimum
  • Sum
2020-05-25T09:11:58+01:00