Skip to content

Replace fraction stuffs with Perquintil #191

Closed
@readlnh

Description

let reward = Perbill::from_rational_approximation(p, points.total) * total_payout;

Since total_payout may be larger than 10,000,000,000, should we consider replace Perbill with Perquintil?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions