Fixed the error occurring in the numberFormat function that prevented it from actually formatting the number input to only 2 decimal spaces.