Greetings All

Is their a way to convert numerical values to a bang?
Example: a number 1-10 will be converted to a bang

Thanks
Rick