Reputation: 3184
I am echoing a floating point variable. The results looks as follows:
.4983385178
I am using echo -e "$var". How can I tell echo also to print the 0 before the dot:
0.4983385178
Thanks in advance! Jonas
Upvotes: 2
Views: 5156