Operators

Math operators work just how you'd expect in Soulver:

Operator

Behaviour

+ or plus

Adds numbers together

– or minus

Subtracts the first number from the second

× or *

Multiplies numbers together

/ or ÷

Divides the first number by the second number

^ or **

Raises the first number to the power of the second number

Soulver uses SI notation for large numbers. For instance, 10k is interpreted by Soulver as 10,000 (ten thousand).

10k + 20k                       | 30k (30,000)
3M + 10%                        | 3.3M (3,300,000)

Notation symbols for large numbers

Symbol

Name

Decimal

k

thousand

1,000

M

million

1,000,000

G

billion

1,000,000,000

T

trillion

1,000,000,000,000

Underscore as Grouping Separator

You may use an underscore character to separate numbers. This is commonly supported in programming languages, so you can easily copy and paste numbers between Soulver and your code

1_000_000 + 2_000                 | 1,002,000
0b_1100_0001 to decimal           | 193
0xCAFE_F00D to decimal            | 3.406G

Last updated