mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
843 B
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: