Quantcast
Channel: Convert floating point numbers to decimal numbers - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Convert floating point numbers to decimal numbers

$
0
0

I have several 'ascii' tables in a directory, some of them have numbers expressed in decimal and some others ones in floating point, as follow:

1 1 1423
1 2 1589
1 3 0.85e 5
1 4 0.89e 4
1 5 8796
...

Is there a way to convert all the value of the tables in decimal numbers? I heard that using tr editor might be useful but I can´t figure out how to operate the conversion.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>