All laws to the contrary notwithstanding, in all cases involving distribution of revenues to counties and municipalities, the state agency charged with the responsibility of apportionment of such funds shall eliminate all payments of less than $5 to a municipality and shall include the amount so eliminated in any payment to be made to the county in which such municipality is located.