I have a float that contains the total seconds the application is active.
For example
float totalTime=523;
means the application is active for 523 seconds
Now I want to change that value to a float
that will represent minutes and seconds.
If i do
float timeResult=523/60;
i will get timeResult as 8.71
while minutes are correct, the seconds are not as they are scaled between 0 to 100 while it needs to be from 0 to 60
I need this to save this value as float since using application analytics with a float
is easier to sort.