Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

26 bytes added, 11:53, 5 March 2021
INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
'''Math Operations'''
Since you do NOT have to declare the '''data-type ''' of a variable (like in a as opposed to compiled language program such as "'''the C'''"-programming language),<br> numbers would be stored as '''text''' in variables. Therefore, it is important to use the construct <span style="color:blue;font-family:courier;font-weight:bold">(( ))</span><br><br>We can include numbers, variables and math operations within this construct to <u>convert</u> numbers (stored as ''text'') into '''numbers'''.
'''Perform the Following Steps:'''
13,420
edits