Skyplatform
  • SKYPLATFORM TECHNICAL USER DOCUMENTATION
    • BASICS OF SKYPLATFORM
      • WHAT IS SKYPLATFORM?
      • SKYPLATFORM DASHBOARD
      • TEMPLATE AND PROJECT CREATION
        • Project Creation
      • PROJECT INFORMATION
      • ADD DEVICES AND GROUPS
        • Create Device
        • Create Group
      • DEVICE DETAILS
      • INTRODUCTION TO COMMISSIONING
        • Commissioning Screen Definitions
      • CREATING A NEW PROJECT
        • Installation of Add-On Cards
      • KNX ADD-ON PROGRAMMING
        • KNX SHUTTER PROGRAMMING SAMPLE
    • PLUGINS
      • DASHBOARD WIDGETS
        • SAMPLE
      • SECURITY
        • SAMPLE
      • BUILT IN PERIPHERALS
        • SAMPLE
      • DIAGNOSTIC
      • TEMPERATURE CONTROLLER
        • SAMPLE
      • UI OBJECTS
        • SAMPLE
      • DIALOGS
        • SAMPLE
      • SCHEDULE
        • SAMPLE
      • FUNCTIONS
        • SAMPLE
      • CONSTANT
        • SAMPLE
      • MATH
        • SAMPLE
      • STRING
        • SAMPLE
      • LOGIC
        • SAMPLE
      • INTERCOM
      • MEDIA
        • SAMPLE
      • CAMERAS
        • SAMPLE
      • WEB
        • SAMPLE
      • EXTERNAL APPs
      • SCRIPTS
        • SAMPLE
Powered by GitBook
On this page
  1. SKYPLATFORM TECHNICAL USER DOCUMENTATION
  2. PLUGINS

MATH

PreviousSAMPLENextSAMPLE

Last updated 8 months ago

Plugin
Name
Description

Round

For fractional numbers, this function rounds the value to the nearest integer. The incoming data must be in float format.

Ceil

This function always rounds fractional numbers up to the nearest integer.

Max

This function outputs the larger of two numbers. Blocks with trigger functions perform the computation when manually triggered by sending a "1" to this input.

Min

This function outputs the smaller of the two numbers provided as input.

Summation

This function performs addition, summing the numbers provided at its input and outputting the result.

Subtraction

This function performs a subtraction operation, subtracting the second number from the first and outputting the result.

Multiply

This function performs a multiplication operation, multiplying the input numbers and outputting the result.

Divide

This function performs a division operation, dividing the input number by the specified value and outputting the result.

Mod

This block performs a modulus operation, dividing the input number by the specified value and outputting the remainder.

Left Shift

This operation shifts the binary representation of a number 1 bit to the left, effectively multiplying the integer value by 2.

Right Shift

This operation shifts the binary representation of a number 1 bit to the right, effectively dividing the integer value by 2.

Average

This block calculates the arithmetic average by summing two or more input values and then dividing the total by the pcs. of numbers.