liveBook · Manning

Arithmetic operator

An arithmetic operator is a programming-language operator that performs a numerical calculation on one or more operands.

How 2 Manning books explain it

Building User-Friendly DSLs

An operator that performs a numerical arithmetic calculation such as multiplication, division, addition, or subtraction.

How it is used
Orders arithmetic expression evaluation and guides implementation of expression evaluators.
How deep it goes
Explains recursive evaluation, parentheses, precedence, and AST construction, stopping short of broader operator semantics.
Examples
Uses 1 + 2 * 3 and 1 + 2 * (3 + 4) to demonstrate precedence and parentheses.
What you can do after
Evaluate arithmetic expressions recursively and represent their evaluation order with ASTs.

Read how Building User-Friendly DSLs explains arithmetic operator →

Math for Web Design

A CSS arithmetic operator is a symbol that performs addition, subtraction, multiplication, or division within a CSS mathematical expression.

How it is used
Calculates layout, size, and transformation values through CSS math functions.
How deep it goes
Defines four operators and explains syntax, units, scalar operands, and precedence, but defers detailed calc() treatment.
Examples
Uses width calculations, angle addition, unit validation, scalar division, and a table of operator results.
What you can do after
Apply it via calc() to construct valid CSS values with compatible units and predictable precedence.

Read how Math for Web Design explains arithmetic operator →

Also covered in

What to know first

Related concepts

Questions about arithmetic operator

What is arithmetic operator?

An arithmetic operator is a programming-language operator that performs a numerical calculation on one or more operands.

Which Manning books explain arithmetic operator?

Building User-Friendly DSLs and Math for Web Design.

What should I know before learning arithmetic operator?

Manning books that teach arithmetic operator usually introduce loop, call, function and object first.

What is the difference between arithmetic operator and first-class object?

An arithmetic operator is a programming-language operator that performs a numerical calculation on one or more operands. A first-class object is a language value or entity that can be represented, stored, passed, returned, and manipulated like other values.

What is arithmetic operator a kind of?

Arithmetic operator is a kind of operator. An operator is a symbol, keyword, or language construct that specifies an operation on one or more operands.

What is arithmetic operator part of?

Arithmetic operator is part of JavaScript. JavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.