Browse Source

add new converter: min to hour

remotes/origin/develop
Jonas Zitzmann 11 months ago
parent
commit
5aaffa8467
  1. 4
      src/convert_time.c
  2. 1
      src/convert_time.h

4
src/convert_time.c

@ -15,3 +15,7 @@ double converter_hour_to_min(double hour){
return time;
}
double converter_min_to_hour(double min){
double time = min / 60;
return time;
}

1
src/convert_time.h

@ -4,5 +4,6 @@
double converter_sec_to_min(double sec);
double converter_min_to_sec(double min);
double converter_hour_to_min(double hour);
double converter_min_to_hour(double min);
#endif //THEADMIRALS_CONVERT_TIME_H
Loading…
Cancel
Save