Files
developer-roadmap/roadmaps/shell-bash/content/numeric@a5cz3ZGg-JQKzdJdihCtO.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

629 B

Numeric Data in Bash

Bash, by default, treats all variables as strings. However, Bash can perform arithmetic operations on variables that contain numeric values. While Bash doesn't have explicit data types like integers or floats in the same way as other programming languages, it interprets strings as numbers when used in arithmetic contexts. This allows you to perform calculations, comparisons, and other numeric manipulations within your shell scripts.

Visit the following resources to learn more: