I want to calculate Days, Hours etc.
I want to make it like this: 184 Seconds / 60 = 3,0666666666667 Means 3 Minutes. 0,666666666667 * 60 = 4
So 184 Seconds are 3 Min. und 4 Seconds. Now i dont know how to bring this into Java. I need a function to seperate the Pre-Comma Value from the After-Comma Value.
It's just a simple example. I want to do this with years,weeks,days and so on