Sign Up

Math

Twidget offers a variety of commands to manipulate numbers. Below are the math commands available, along with their descriptions, inputs, and outputs.

Sum

Description: Adds together a list of numbers and returns the sum.

  • Inputs:

    • numbers: A list of numbers to be added together.
  • Output: A single number representing the sum of the input numbers.

Subtract

Description: Subtracts one number from another.

  • Inputs:

    • number_1: The number to subtract from.

    • number_2: The number to subtract.

  • Output: A single number representing the result of the subtraction.

Multiply

Description: Multiplies together a list of numbers and returns the product.

  • Inputs:

    • numbers: A list of numbers to be multiplied together.
  • Output: A single number representing the product of the input numbers.

Divide

Description: Divides one number by another.

  • Inputs:

    • number_1: The dividend (number to be divided).

    • number_2: The divisor (number to divide by).

  • Output: A single number representing the quotient of the division.

Modulo

Description: Computes the remainder of one number divided by another.

  • Inputs:

    • number_1: The number to be divided.

    • number_2: The number to divide by.

  • Output: A single number representing the remainder of the division.

Equals

Description: Checks whether two numbers are equal.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the numbers are equal (true) or not (false).

Not Equal

Description: Checks whether two numbers are not equal.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the numbers are not equal (true) or not (false).

Greater Than

Description: Checks whether the first number is greater than the second number.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the first number is greater than the second number (true) or not (false).

Less Than

Description: Checks whether the first number is less than the second number.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the first number is less than the second number (true) or not (false).

Greater Than or Equal

Description: Checks whether the first number is greater than or equal to the second number.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the first number is greater than or equal to the second number (true) or not (false).

Less Than or Equal

Description: Checks whether the first number is less than or equal to the second number.

  • Inputs:

    • number_1: The first number.

    • number_2: The second number.

  • Output: A boolean indicating whether the first number is less than or equal to the second number (true) or not (false).

Related Topics

Miscellaneous

Twidget provides several miscellaneous commands to facilitate various tasks. Is Null. Description: Checks whether the provided value is null or not. Inputs: - value: The value to be checked. Output: - boolean: Returns `true` if the value is null; otherwise, returns `false`. Not Null. Description: Ch...

Send External HTTP Request

Using Twidget, you can send external HTTP requests effortlessly. This functionality allows you to communicate with external servers or APIs. Below, you will find the necessary parameters and structure to set up an HTTP request. Parameters. - URL: The endpoint to which the request will be sent. - Met...

Conversion

Overview. Twidget's conversion commands allow you to easily convert different data types to the required format. Below is a list of the available conversion commands and examples of how to use them. The `Convert to Text` command converts the provided value to a text (string) format. Examples: - `123...

Send Message

Send SMS Command. With Twidget, you can send SMS messages to phones using the `Send SMS` command. This functionality varies depending on the provider. Currently, we support Twilio as the SMS provider. To use Twilio for SMS integrations, you will need: - A Twilio account ID - Twilio Auth Token - A Tw...

Text

Twidget offers a variety of commands to manipulate text in various ways. To Uppercase. Converts all characters of the provided text to uppercase. - text: The text to be converted to uppercase. - A text string with all characters in uppercase. To Lowercase. Converts all characters of the provided tex...