Whenever cities and towns of the state are, by law, allocated and entitled to be paid any funds or state moneys from any source, and the allocation and payment is required to be made on a populations basis, notwithstanding the provisions of any other law to the contrary, all such allocations shall be made on the basis of the population of the respective cities and towns as last determined by the office of financial management: PROVIDED, That the regular federal decennial census figures released for cities and towns shall be considered by the office of financial management in determining the population of cities and towns.