Function marlu::sexagesimal::degrees_to_sexagesimal_hms
source · [−]Expand description
Convert a number in degrees to a sexagesimal-formatted string in “hours minutes seconds”.
Examples
let hms = degrees_to_sexagesimal_hms(-177.254425);
assert_eq!(hms, "-11h49m01.0619s");