Arithmetic Operators

noun

say it: “air-ith-MET-ik OP-er-ay-terz” /ˌærɪθˈmɛtɪk ˈɒpəreɪtərz/

The math symbols JavaScript calculates with: + add, - subtract, * multiply, / divide, % remainder and ** power.

What is Arithmetic Operators in JavaScript?

Arithmetic Operators — The math symbols: + - * / // % **.

const price = 4;
const quantity = 3;
const total = price * quantity;

In a sentence

  • “I used arithmetic operators to work out 2 * 4.5 + 1, the total for two lattes and a tip.”

Level: Novice · More JavaScript terms at this level

Updated

In other subjects