Loading...
Reference

Heavstal Calculator

Overview

Heavstal Calc is a high-precision mathematical engine powered by MathJS. It allows for complex expression evaluation via API, useful for bots or apps needing safe math parsing.

Endpoint

POST /calc

Request Parameters

FieldTypeRequiredDescription
exprstringRequiredThe mathematical expression to evaluate.

Supported Operations

  • Arithmetic: +, -, *, /, ^
  • Functions: sqrt(), sin(), cos(), log()
  • Unit conversion: 5 cm to inch
  • Example Usage

    javascript

    Successful Response

    json