# Math Component

Prismatic's built-in components make it easy for B2B software companies to integrate with the other apps and services your customers use.

## About the Math Component

The **math** component implements common mathematical functions that are available in JavaScript's built-in Math library.

## Component Actions

Action Name | Action Description |
---|---|

Absolute Value | Returns the absolute value of the input number. |

Arccosine | Returns the arccosine of the input number. |

Hyperbolic Arccosine | Returns the hyperbolic arccosine of the input number. |

Add Numbers | Returns the result of adding the numbers |

Arcsine | Returns the arcsine of the input number. |

Hyperbolic Arcsine | Returns the hyperbolic arcsine of a number. |

Arctangent | Returns the arctangent of the input number. |

Hyperbolic Arctangent | Returns the hyperbolic arctangent of the input number. |

Cube Root | Returns the cube root of the input number. |

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

Cosine | Returns the cosine of the input number. |

Hyperbolic Cosine | Returns the hyperbolic cosine of the input number. |

Divide Numbers | Returns the result of dividing the numbers |

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

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). |

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

Float-round | Returns the nearest single precision float representation of the input number. |

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

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

Maximum | Returns the largest of zero or more numbers. |

Minimum | Returns the smallest of zero or more numbers. |

Multiply Numbers | Returns the result of multiplying the numbers |

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

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

Random Number | Returns a pseudo-random number between min and max. |

Random Integer | Returns a pseudo-random integer between min and max. |

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

Sine | Returns the sine of the input number. |

Hyperbolic Sine | Returns the hyperbolic sine of the input number. |

Square Root | Returns the positive square root of the input number. |

Subtract Numbers | Returns the result of subtracting the numbers |

Tangent | Returns the tangent of the input number. |

Hyperbolic Tangent | Returns the hyperbolic tangent of the input number. |

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

## The Integration Platform for B2B Software Companies

## Intuitive Integration Designer

Non-dev teams create reusable integrations in a low-code environment tailored for your product.

## Pre-Built & Custom Components

Use built-in API connectors or code your own custom components for any third-party system.

## Embedded Integration Marketplace

Deliver a seamless in-app customer experience for exploring, activating, and monitoring integrations.

## Integration Deployment & Support

Manage customer-specific configuration and provide proactive support with logging & alerting.

## Purpose-Built Infrastructure

Your integrations run in a scalable, secure environment while you focus on your core product.

## Built In A Way Devs Love

Give devs power and flexibility. Fit the platform to your product and the way you build software.

### Get in Touch

###### Looking for an additional component action? Want to see a tailored demo? Let us know and we'll be in touch soon!

With Prismatic, we’re able to deliver integrations in far less time while streamlining our engineering effort. Prismatic has given us the ability to more widely build integrations across our teams. It has also allowed our customer-facing teams to handle customer-specific deployment.

Chris Rallis

Engineering Manager at Raven Industries