overhauled the formatValue / number formatting.