Percentage Get the percentage of any number use percentage_rs::Percent; println!("{}", 10 * 50.percent());