Skip to content

The interpretation of § 128(1) is not entirely correct. #7

@ghost

Description

มาตรา ๑๒๘
(๑) นําคะแนนรวมทั้งประเทศที่พรรคการเมืองทุกพรรคที่ส่งผู้สมัครแบบบัญชีรายชื่อได้รับ
จากการเลือกตั้งแบบแบ่งเขตเลือกตั้งหารด้วยห้าร้อยอันเป็นจํานวนสมาชิกทั้งหมดของสภาผู้แทนราษฎร

Hence, getAllValidScores should only include party.voteCount only when party.partyListMemberCount && party.partyListMemberCount>0

const getAllValidScores = (parties: IParty[]) =>
parties.reduce((result, party) => {
return result + party.voteCount
}, 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions