Hand code routine to round numbers to correct number of SF