Text processing on CSV file

I am dealing with a file which has the following form:


Sometimes, there are values with no decimals (e.g. 441 instead of 441.0) and I need the decimals to be there. How do I write a script such that all integers are added .0 so that they become floats?

Source: shell

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.