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

后端 未结 0 1883
情歌与酒
情歌与酒 2021-02-14 23:16

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         


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