convert scientific notation bash script convert scientific notation bash script bash bash

convert scientific notation bash script


My last answer was wrong, sorry about that. You can use printf for this:

printf '%.0f' 1.8200E+02182


I don't know of a better solution...

number=1.8200E+02python -c "print float('$number')"