Formatting of numbers with shortcode support