removed units from formatting function and moved to cache-data #504
#504 Stick to coding standards
Merge pull request #511 from laterpay/feature/504_unit_most_least_cache

removed units from formatting function and moved to cache-data #504
Closes #504