bash float
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
Also in C++:
- mkdir command
- git log in command line pretty view
- react htaccess
- error: Your local changes to the following files would be overwritten by checkout:
- linux du suppress errors
- how to uninstall lamp server in ubuntu 18.04
- docker --restart example
- bash get last field in line
- git abort merge
- Error: Unable to resolve module `react-native-screens` from `node_modules/@react-navigation/bottom-tabs/src/views/BottomTabView.tsx`: react-native-screens could not be found within the project.
- list database in ubuntu
- onedrive ubuntu 20.04
- install @angular-devkit/build-angular
- cat command in linux
- pwa install
- arch jpg to png
- batch file extension
- ubuntu add entry to /etc/apt/sources.list
- git push existing clone
- how to connect ssh to virtualbox ubuntu
- There is no application installed for “shared library” files
- automator save pdf to downloads
- pig latin group by
- expo install globally