Horje
bash float operations Code Example
bash float operations
bc <<< '0.3333+0.6666' # Get sum of floats in bash.
0.99			#Same for Substraction and Multiplication
bc -l <<< '10/3' # Fast way to get division
3.33333333333333333333
bc <<< 'scale=2; 10/3' #Define also how many decimals to take in scale
3.33




Shell

Related
create file from terminal using cat Code Example create file from terminal using cat Code Example
microphone auto adjusting ubuntu Code Example microphone auto adjusting ubuntu Code Example
connect android to linux using scrcpy Code Example connect android to linux using scrcpy Code Example
does Ubuntu MATE have ssh Code Example does Ubuntu MATE have ssh Code Example
install tools kali linux Code Example install tools kali linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14