Each decision on an application for development shall be reduced to writing as provided in this section and shall include findings of facts and conclusions based thereon. Failure of a motion to approve an application for development to receive the number of votes required for approval shall be deemed an action denying the application. The municipal agency may provide such written decision and findings and conclusions either on the date of the meeting at which the municipal agency takes to grant or deny approval, or, if the meeting at which such action is taken occurs within the final forty-five (45) days of the applicable time period for rendering a decision on the application for development, within forty-five (45) days of such meeting, by the adoption of a resolution of memorialization setting forth the decision and the findings and conclusions of the municipal agency thereon. An action resulting from the failure of a motion to approve an application shall be memorialized by the resolution as provided above, notwithstanding the time at which such action occurs within the applicable time period for rendering a decision on the application.