---
title: "Math Connector | Lansweeper Platform"
slug: "math-connector"
description: "Perform essential math operations like addition, subtraction, and square root, along with advanced functions like logarithm and trigonometric calculations."
status: "update"
updated: 2026-07-17T16:02:03Z
published: 2026-07-17T16:02:03Z
canonical: "docs.lansweeper.com/math-connector"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Math Connector

Note on third‑party tools

              

We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation.

The **math** component allows you to perform common math operations on numbers or lists of numbers. This component implements mathematical functions that are available in JavaScript's built-in [Math](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math) library.

## Actions

### Absolute Value

Returns the absolute value of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Add Numbers

Returns the result of adding the numbers

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |

### Arccosine

Returns the arccosine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Arcsine

Returns the arcsine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Arctangent

Returns the arctangent of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Ceiling

Returns the smallest integer greater than or equal to the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Cosine

Returns the cosine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Cube Root

Returns the cube root of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Divide Numbers

Returns the result of dividing the numbers

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |

### Evaluate Expression

Evaluate a mathematical expression (for example, "2 * 3 + 7")

| Input | Comments | Default |
| --- | --- | --- |
| Expression |  |  |

### e^x

Returns e^x, where x is the input number, and e is Euler's constant (2.718…, the base of the natural logarithm).

| Input | Comments | Default |
| --- | --- | --- |
| Exponent | A number to provide to the math function |  |

### Float-round

Returns the nearest single precision float representation of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Floor

Returns the largest integer less than or equal to the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Arccosine

Returns the hyperbolic arccosine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Arcsine

Returns the hyperbolic arcsine of a number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Arctangent

Returns the hyperbolic arctangent of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Cosine

Returns the hyperbolic cosine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Sine

Returns the hyperbolic sine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hyperbolic Tangent

Returns the hyperbolic tangent of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Hypotenuse

Returns the square root of the sum of squares of an array of numbers.

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |

### Logarithm

Returns the logarithm of a given input base of an input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |
| Exponent Base |  | 10 |

### Maximum

Returns the largest of zero or more numbers.

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |
| Dynamic Numbers | Use this input to provide numbers in JSON format, rather than using the default 'Numbers' input. Please note that using this input takes precedence over said input. |  |

### Minimum

Returns the smallest of zero or more numbers.

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |
| Dynamic Numbers | Use this input to provide numbers in JSON format, rather than using the default 'Numbers' input. Please note that using this input takes precedence over said input. |  |

### Multiply Numbers

Returns the result of multiplying the numbers

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |

### Natural Log

Returns the natural logarithm (log e; also, ln) of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Power

Returns base x to the exponent power y (that is, x^y).

| Input | Comments | Default |
| --- | --- | --- |
| Base | A number to provide to the math function |  |
| Exponent | A number to provide to the math function |  |

### Random Integer

Returns a pseudo-random integer between min and max.

| Input | Comments | Default |
| --- | --- | --- |
| Min | A number to provide to the math function |  |
| Max | A number to provide to the math function |  |

### Random Number

Returns a pseudo-random number between min and max.

| Input | Comments | Default |
| --- | --- | --- |
| Min | A number to provide to the math function |  |
| Max | A number to provide to the math function |  |

### Round

Returns the value of the input number rounded to the nearest integer.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Sine

Returns the sine of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Square Root

Returns the positive square root of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Subtract Numbers

Returns the result of subtracting the numbers

| Input | Comments | Default |
| --- | --- | --- |
| Numbers |  |  |

### Tangent

Returns the tangent of the input number.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |

### Truncate Number

Returns the integer portion of the input number, removing any fractional digits.

| Input | Comments | Default |
| --- | --- | --- |
| Number | A number to provide to the math function |  |
