Function as_mb

Source
pub fn as_mb(bytes: f64, si: bool, short: bool) -> String
Expand description

Display MB or MiB if short is false, otherwise if short is true and the value is greater than 1GB or 1GiB, display units using as_data_size().