Problem with numbers in exponential format

Hi

I have a shell scribt with some numbers in exponential format, for example, "1.23456789E +01" Now I would like to bring these numbers into a format without the E. Can someone help me

Thanks

Flo

---------- Post updated at 10:07 AM ---------- Previous update was at 09:14 AM ----------

i found a solution in this forum :slight_smile:

var=13.165
newvar=$(printf "%.0f" $var)
2 Likes

Thank you for keeping us informed, and a special thank you for showing that new users can indeed write meaningful subjects and do use their own brains trying to solve a problem, instead of just relying on others. :b: :b: