fn percent(received: u64, total: u64) -> i64
The whole percentage received is of total.
received
total