Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

4 bytes added, 09:49, 5 March 2021
Command Substitution / Math Operations
'''Math Operations:'''
[[Image:math-op.png|thumb|right|200px250px|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 2 pairs of round brackets '''(( ))'''.<br><br>
Refer to the table on the right for common mathematical symbols.<br><br>
''Examples:''
<pre style="width:30%">num1=5;num2=10
13,420
edits

Navigation menu