Skip to main content

unit_to_meters

Function unit_to_meters 

Source
pub fn unit_to_meters(code: &str) -> Option<f64>
Expand description

GetUnitsCode + To_Meters from Shared/LineUnits.cpp. The engine matches on the first two characters; no* and anything unrecognized are UNITS_NONE, which has no conversion factor.