Spanish Total.js
English
Documentation For AI agents
Contents

Work out a sum

Type a sum in the bar and the answer is there as you write, without opening a calculator.

.md GitHub
On this page

Get the answer

  1. Open the bar and type the sum, such as (1280 - 15) * 3.
  2. The first line says = 3795.
  3. Press Enter to copy the answer, and paste it where you need it.

The sum can have spaces or not. If what you typed is not a whole sum yet, there is no answer: a bracket that is not closed, or a number alone.

What you can write

WriteWhat it doesExample
+ -Add and subtract120 - 45 is 75
* or ×Multiply12 * 8 is 96
/ or ÷Divide10 / 4 is 2.5
^Raise to a power2 ^ 10 is 1024
%A percentage15% of 200 is 30
modWhat is left of a division10 mod 4 is 2
√ or sqrtSquare root√16 is 4
pi or πThe number pi2 * pi is 6.28318530718
( )Do this part first(2 + 3) * 4 is 20

Percentages

Write them as you say them:

WriteWhat it doesAnswer
1280 - 15%Takes 15 % away1088
1280 + 21%Adds 21 %1548.8
15% of 200That part of it30
200 * 15%The same30
(1280 - 15%) * 3Takes it away first, and multiplies3264

A percentage that is added or taken away is of all that comes before it: 1000 + 280 - 15% is 1088 too.

What to know

  • The point and the comma both start the decimals: 1.5 and 1,5 are the same number. Do not write them between the thousands, because 1.280 is a little more than one.
  • A multiplication needs its sign: 2(3 + 4) has no answer, and 2 * (3 + 4) has.
  • Long decimals are rounded to 12 figures.
Made in Europe