# MATH

<table><thead><tr><th width="128">Plugin</th><th width="138">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F6ICeith3yNrjf3iWG7NI%2FRound.png?alt=media&#x26;token=bb30c7d6-4f1f-4567-b46e-492c98861f47" alt="" data-size="original"></td><td><strong>Round</strong></td><td>For fractional numbers, this function rounds the value to the nearest integer. The incoming data must be in float format.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FhUSyyavvvo5gO0jKVxmK%2FCeil.png?alt=media&#x26;token=248f243a-1d83-445f-9558-a385006920d5" alt="" data-size="original"></td><td><strong>Ceil</strong></td><td>This function always rounds fractional numbers up to the nearest integer.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F4zl1eBFrFSCn9IbH7Yef%2FMax.png?alt=media&#x26;token=a259925f-5443-493a-b8c4-90dae65006c1" alt="" data-size="original"></td><td><strong>Max</strong></td><td>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.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FjqJWOa9M8SVpIinnUE2V%2FMin.png?alt=media&#x26;token=8ac4f045-8bb6-4dcf-b66b-146f8ea0933a" alt="" data-size="original"></td><td><strong>Min</strong></td><td>This function outputs the smaller of the two numbers provided as input.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2Fy2kE570EG5MsZNvOVm3n%2FSummation.png?alt=media&#x26;token=a9d7d7ca-f1af-4269-aa0c-ab5c403d2c40" alt="" data-size="original"></td><td><strong>Summation</strong></td><td>This function performs addition, summing the numbers provided at its input and outputting the result.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FhpLPfJ9encI5gf4JkyVV%2FSubtraction.png?alt=media&#x26;token=733bfff7-5846-4270-a0ce-97814cc44594" alt="" data-size="original"></td><td><strong>Subtraction</strong></td><td>This function performs a subtraction operation, subtracting the second number from the first and outputting the result.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FZwKpbhCi4JnwEPbSX8gV%2FMultiply.png?alt=media&#x26;token=8572dc75-5049-43c6-8e26-c77f749389a3" alt="" data-size="original"></td><td><strong>Multiply</strong></td><td>This function performs a multiplication operation, multiplying the input numbers and outputting the result.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FPk76k1pglBH4XvowKjHB%2FDivide.png?alt=media&#x26;token=b066e564-4d0e-475d-81b2-2e8c0de4ecf7" alt="" data-size="original"></td><td><strong>Divide</strong></td><td>This function performs a division operation, dividing the input number by the specified value and outputting the result. </td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2F2enrIX26YN4hlHDBbMhS%2FMod.png?alt=media&#x26;token=790cd7c7-879c-4b34-883c-5a13e094adcb" alt="" data-size="original"></td><td><strong>Mod</strong></td><td>This block performs a modulus operation, dividing the input number by the specified value and outputting the remainder.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FC5fE1sikli7FY2GRTS0f%2FLeftShift.png?alt=media&#x26;token=1bac9519-cb42-4605-83ef-a016cff76fe7" alt="" data-size="original"></td><td><strong>Left Shift</strong></td><td>This operation shifts the binary representation of a number 1 bit to the left, effectively multiplying the integer value by 2.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2FC7b6SWAUZywRK6GZI9br%2FRightShift.png?alt=media&#x26;token=256ba5a3-1d36-4a33-97c7-c0a43a01373d" alt="" data-size="original"></td><td><strong>Right Shift</strong></td><td>This operation shifts the binary representation of a number 1 bit to the right, effectively dividing the integer value by 2.</td></tr><tr><td><img src="https://2866306475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsOJKIPVBwStiyHDRNL5F%2Fuploads%2Fg6Z0hsPl1Gt2v60XoJGF%2FAverage.png?alt=media&#x26;token=0d03e595-7702-41ed-9a69-23bf79f6562e" alt="" data-size="original"></td><td><strong>Average</strong></td><td>This block calculates the arithmetic average by summing two or more input values and then dividing the total by the pcs. of numbers.</td></tr></tbody></table>
