Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Seaus-tech/Calculator-App/llms.txt

Use this file to discover all available pages before exploring further.

Once you have Calculator App installed, the fastest way to learn it is to open a terminal and try things. This page walks you through every major feature with concrete input-and-output examples so you can hit the ground running.

Launch the App

Start the calculator by running:
calc-app
The startup banner lists everything you can do, and a > prompt appears when the app is ready:
Simple Calculator - Type math expressions or 'quit'
Set variables: x=5
Use in math: x+3, 2*x, etc.
Solve equations: 6+x=7, 2*x-3=5
Functions: sqrt(16), 9**2, sin(pi/2)
Natural language: '9 squared', 'sqrt of 16', '5 cubed'
Fractions: 1/2 + 1/3, 2 1/2 + 3/4
Type 'meme' to toggle meme mode!

>

Feature Walkthrough

Type any numeric expression at the > prompt. Standard operator precedence applies — multiplication and division are evaluated before addition and subtraction. Use ** or ^ for exponentiation.
> 2+3*4
= 14

> (2+3)*4
= 20

> 9**2
= 81

> 100/4-5
= 20.0
Use parentheses to control the order of operations, just as you would in a math textbook.

Quitting the Calculator

To exit the REPL, type quit at the prompt:
> quit
You can also press Ctrl+C at any time to exit immediately.
Any variables you have set during a session are stored in memory only. They are not persisted between sessions — each fresh calc-app launch starts with an empty variable store.

Build docs developers (and LLMs) love