A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Integer Calculator - Online Calculator - Tutorpace

Integer Calculator

Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

Integers are a very important section of numbers in the number system. Integers include both positive numbers as well negative numbers. Integers however contain only whole numbers, and numbers in the form of fractions or decimals do not come under Integers. Integer calculator is the online tool which can easily give answers to calculations involving integers.

Example 1: Add the given integers: 10 – 6 + (-2)

Given expression: 10 – 6 + (-2)

In order to add the given integers, we pick the first two numbers from the left.

10 - 6  4

Now we take the ‘4’ and proceed to the next term in the given expression è 4 + (-2)

We multiply the ‘+’ with the ‘-‘ and we get ‘-‘4 + (-2) 4 - 2   2

Hence  10 – 6 + (-2) = 2

Example 2: Add the given integers: 2 + (-3) – 4.

Given expression: 2 + (-3) – 4.

In order to add the given integers, we pick the first two numbers from the left.

2 + (-3) We multiply the ‘+’ with the ‘-‘ and we get ‘-‘ 2 – 3   -1

Now we take the -1 and proceed to the next term in the given expression   -1 – 4

Since they are two negative integers, we add the numbers but keep the negative sign!

-1 – 4 = -5

Hence   2 + (-3) – 4 = -5