Added a global template helper

Added a global helper for using numeral in templates.