added delimiter functionality for delimiting numbers in the thousands