Docs
  • Getting Started
  • Overview
    • Understanding
      • User-Interface
      • Shortcuts
    • Getting Started
      • Creating A New Application
      • Adding Basic Structure using Class Designer
      • Creating a link to the TIVITY File Class
      • Setting Rights
      • Creating Queries
      • Building The Layout
        • Creating an App Page
        • Creating an Object Page
        • Creating a List Item Layout
  • Building an Application
    • Application Setup
      • General
      • Documentation
      • License Management
      • Publishing the Application
      • Advanced Settings
        • Document-MailEditor
    • Data
      • Sources
      • Data Modelling
        • Class
        • Field
        • Action
        • Link
      • Query Data
        • Get Started with Query Designer
        • Common
        • Fields
        • Conditions
        • Default Values
        • Preview
      • Roles & Permissions
        • Rights Designer
      • Access Control Lists (ACL)
    • Views
      • Design UI
        • Page Types
        • Fields and Links
        • Layout Controls
          • Actions
          • Panels
          • Sections
          • Lists
          • Input
        • Layout Templates
      • Document Templates
        • Get started with Template Designer
        • Expressions in Templates
    • Execution
      • Functions
      • Workflows
        • Control Types
      • Trigger
      • Scripting
        • Accessing the Script Designer
        • Using the Script Designer
        • Commonly used Actions
        • Reference: Actions
          • Math
          • System
          • Date
          • Collection
          • LogicalOperators
          • Web
          • Structure
          • Constants
          • Converters
          • Commands
          • Text
          • PDF
          • Operators
          • PowerPoint
          • QR-/Barcode
          • Messaging
          • Cells
          • Xml
          • Admin
          • Integrations
    • Expressions
      • Expressions in Expressions
      • Expressions in Condition Values
  • Administration
    • Platform
    • Workspace
    • Security
    • Platform Setup
  • Extensibility and Integration
    • REST API
    • Source Adapter
      • Getting Started
      • Source Adapter Interface
      • RESTful Adapter Service
  • Adapter Portfolio
    • MongoDB Adapter
  • Platform Features
    • Enterprise Search
      • Integration into an App
      • General Settings
    • Templates
    • Tagging
      • Getting Started
      • Manage Tags
      • Settings
      • Usage
        • Tag filter
        • Tag panel
    • DMS Setup
Powered by GitBook
On this page
  • Add
  • Ceil
  • Divide
  • Increment
  • Modulo
  • Multiply
  • Pow
  • Round
  • Square Root
  • Subtract

Was this helpful?

  1. Building an Application
  2. Execution
  3. Scripting
  4. Reference: Actions

Math

Add

Takes two values as input and performs an addition. No specification of the data type in order to work for multiple data types (Integer, Float, Double, etc.).

Syntax

Add ( Augend , Addend )

Parameters

Augend First part of the addition. Type: Any

Addend Second part of the addition. Type: Any

Return Type

Any

Ceil

This element always rounds up a number, even when used on a negative number

Syntax

Ceil ( X )

Parameters

X This value receives a double or decimal type Type: Double

Return Type

Double

Divide

Divides the Dividend value with the Divisor value No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Divide ( Dividend , Divisor )

Parameters

Dividend First part of the division. Type: Any

Divisor Second part of the division. Mustn't be zero. Type: Any

Return Type

Any

Increment

Increments the value of a Variable with the given Name.

Syntax

Increment ( Name )

Parameters

Name Name of the variable which will be incremented. Type: String

Return Type

Int

Modulo

Returns the reminder of the division. No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Modulo ( Dividend , Divisor )

Parameters

Dividend First part of the division. Type: Any

Divisor Second part of the division. Mustn't be zero. Type: Any

Return Type

Int

Multiply

Multiplies two values.

Syntax

Multiply ( Multiplicand , Multiplier )

Parameters

Multiplicand First factor of the multiplication. Type: Any

Multiplier Second factor of the multiplication. Type: Any

Return Type

Any

Pow

Returns a specified number raised to the specified power.

Syntax

Pow ( X , Y )

Parameters

X A double-precision floating-point number to be raised to a power. Type: Double

Y A double-precision floating-point number that specifies a power. Type: Double

Return Type

Double

Round

Rounds a value to the nearest integer or to the specified number of fractional digits.

Syntax

Round ( Value [, Digits] )

Parameters

Value A double-precision floating-point number to be rounded Type: Double

Digits (optional) The number of fractional digits in the return value. Type: Int

Return Type

Double

Square Root

Returns the square root of a specified number.

Syntax

Square Root ( X )

Parameters

X The number whose square root is to be found. Type: Double

Return Type

Double

Subtract

Takes two values as input and performs a subtraction. No specification of the data type in order to work for multiple data types (Integer, Float, Double, ..).

Syntax

Subtract ( Minuend , Subtrahend )

Parameters

Minuend First part of the subtraction. Type: Any

Subtrahend Second part of the subtraction. Type: Any

Return Type

Any

PreviousReference: ActionsNextSystem

Last updated 4 years ago

Was this helpful?