Ubuntu – Convert scientific notation number Xe+N to an integer in bash script
Given: #!/bin/bash # Define the number in scientific notation my_number="2.2e+6" I would like to convert this scientifically written notation number to an integer in my bash script. Right now, I use the following approach using Python within the Bash script…