I currently need to find the percentage of a song (for my program), I have tried doing it the normal way of (current position)/(total length of song), however since seconds go up to 60 and not 100 this does not work. How would I do this with seconds? Both the current position and length of song are in seconds.
To be more clear, how would I work out the percentage of the song, knowing that I am currently 122.277seconds the way through a song that is total of 177320seconds.
Thanks