mercredi 4 mars 2015

Avoid conversion to scientific notation in awk


I have a csv file that contains hundreds of columns. I would like to subtract the value of a specific column from a static number and then print the entire line. The values of that column are long floats. When I do the subtraction awk automatically converts the result to scientific format. I could use printf to get the standard representation but I need to get the entire row and the fields of each row are too many.


Is there a way to avoid this automatic conversion or at least to bypass it?



Aucun commentaire:

Enregistrer un commentaire