How do I format a double into a time with a print statement in Java?

后端 未结 0 1921
走了就别回头了
走了就别回头了 2021-02-14 23:22

I\'m trying to format a double into a time in Java.

Here is my current code:

int food_intake = 1000;
int calories_burned_per_hour = 173
double hours = food         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题