roundString function

Round a value to a defined number of digits printing out trailing zeros, if applicable.