[][src]Function cpc::units::convert

pub fn convert(number: Number, to_unit: Unit) -> Result<Number, String>

Convert a Number to a specified Unit.