pub fn prettyfrequency(freq: f64) -> String
Format a frequency as a human-readable string. E.g., 3.5 per hour, 0.2 per minute, etc.