How to fix the number of values after the decimal?

It can be done as follows :

sprintf '%.2f', '10.0500000'

Leave a Reply