Hi.
Is there a way to convert a value outputted as(for example):
4.14486e+06 into a regular format: 4144860
I suppose in plain english i want to move the decimal point 6 places to the right.
please???
Hi.
Is there a way to convert a value outputted as(for example):
4.14486e+06 into a regular format: 4144860
I suppose in plain english i want to move the decimal point 6 places to the right.
please???
Use printf:
$ printf "%9.0f\n" 4.14486e+06
4144860
$
Perderabo's solution will work, but you should try to get the output formatted correctly instead.