Skip to main content

METRES_PER_FOOT

Constant METRES_PER_FOOT 

Source
pub const METRES_PER_FOOT: f64 = 0.3048;
Expand description

The international foot, exactly – a fixed definition, like METRES_PER_NM. Distance and speed stay nautical miles and knots throughout this crate (see “Units and conventions” above); this constant exists for converting a length or depth to feet when a display preference requires it.