Added formatNumber feature

Added formatNumber feature to use a comma as the thousands separator
Added formatNumber example