How do I convert a Km / h value into nautical miles?
Example: I have a value of 49km / h I need to convert this value to nautical miles hour "Mn / h" does anyone know how to do this function to convert I searched the php site more than I found
How do I convert a Km / h value into nautical miles?
Example: I have a value of 49km / h I need to convert this value to nautical miles hour "Mn / h" does anyone know how to do this function to convert I searched the php site more than I found
Considering that 1 nautical mile is equivalent to 1,852 km , to convert Km / h into mn / h
Divide the value into Km by 1,852 :
<?php
function kmh_to_mnh($v){
$mnH = $v / 1.852;
return $mnH.'mn/h';
}
echo kmh_to_mnh(50); // 50Km/h -> 26.99784017278mn/h
?>
Good afternoon, would not you just multiply the value by 0.5396118?