Refactored template engines
Refactored double number format to an independent static helper