Simple function (just copied from the stats package) to format percentages
## S3 method for class 'perc' format(probs, digits)
probs
the percentages
digits
the number of digits