pub fn convert(from: &str, to: &str) -> Result<f64>Expand description
Parses from and to as GNU units expressions and returns the numeric
conversion factor.
First attempts a function or table conversion; if neither applies
(ErrorCode::NotAFunc), falls back to standard unit division.