Skip to main content

METRES_PER_NM

Constant METRES_PER_NM 

Source
pub const METRES_PER_NM: f64 = 1852.0;
Expand description

The international definition of the nautical mile, exactly 1852 m. Exported so other crates converting a distance_nm result into metres for the wire (Signal K’s resources are metric) use this value instead of restating the literal.