Call to undefined function formatNumber()