this is a real number taken from a file. The value are like,
0.334561754018
I am using this value in a file name,
'$NAME'_'$DISTANCE'.txt
I would like to shorten the number some to something like 0.33. I am assuming that these are strings and not numbers. There is no real need for anything like rounding if that is difficult. If I could just print the first 4 characters, or something like that, that would be a big improvement.