Files
developer-roadmap/roadmaps/shell-bash/content/arithmetic-expansion@LHoR6krZTuJW5BGiKf_AT.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

843 B

Arithmetic Expansion

Arithmetic expansion allows you to perform mathematical calculations directly within your shell scripts. It uses the $((...)) syntax to evaluate expressions, treating the contents inside the parentheses as an arithmetic expression. This enables you to perform operations like addition, subtraction, multiplication, division, and modulo, and assign the results to variables or use them in conditional statements.

Visit the following resources to learn more: