Closed tusharshivan closed 7 years ago
206 seconds is 3 minutes and 26 seconds (3.43333 minutes)
What are you expecting to see?
Well if we do math, we divide seconds with 60. So if we divide 206 seconds with 60, we get 3:43 minute. But if I use / and %, I get true length of the file. Why is that?
There are 60 seconds in a minute, not 100
Thanks
Hello There, I was having a problem to get my understanding right for using Mp3Agic to get duration of MP3 file.
I used " mp3file.getLengthInSeconds " to get duration of a MP3 file but when I use calculator to convert them to minute, it doesn't show same duration of the MP3 file. But if I write a program to convert seconds to minutes, the calculation is same to the original duration. Why is THAT DIFFERENCE?
Thank You Tushar