Please use the below-modified script, which worked for me.
if (tblCourse.row8.reimbApproved.rawValue < tblReimbRcvd.row3.cost2Dec.rawValue){this.rawValue = tblCourse.row8.reimbApproved.rawValue;}else if (tblCourse.row9.proRatedApproved.rawValue < tblReimbRcvd.row3.cost2Dec.rawValue){this.rawValue ...