Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

54 bytes added, 09:46, 5 March 2021
Command Substitution / Math Operations
'''Math Operations:'''
[[Image:math-op.png|thumb|right|200px|Common Math Operator Symbols.]]In order to make math operations work, we need to convert numbers <br>stored as '''text ''' into '''binary numbers'''. We can do this by using the expr command or simply by using 2 pairs of round brackets '''(( ))'''.
Examples:
13,420
edits