I have a text file that I read for a number
Sometimes the number can be 1 decimal place other times it can have up to 3. It's a temperature reading. so 29.765 or 55.5 or 99.32
In bash, is there a way to make it 29.8, leave it at 55.5 and 99.3 ???
Start Free Trial