EN VI
Posts (0)
Questions (1)
2024-03-15 03:00:12
You can simply multiply all your numbers by 100 before dividing them. let data: Vec = vec![3, 4, 1, 2]; let total_maturity: u64 = data.iter().sum(); let percentages: Vec = data .iter() .map(|...
Tags: rust percentage

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login