Sep
2
Treadmill Mile Pace
Filed Under Treadmills

Houd How to convert miles to minutes / seconds per mile.?
Many tapes output speed in miles per hour. However, most runners think of their pace in minutes and seconds per mile. Write a program to enter a decimal value of miles per hour and converts the value in minutes and seconds mile. Ok, I know this is the issue: 60 / x answer = However, when I put in something like this: 60/5.5 10.90909090 me etc. .. But the answer I'm supposed to get is 10 miles and 55 seconds (round trip to the nearest second) So how I can convert the 90,909,009 (or whatever) so its 55 seconds. Hope this helps.
I guess you're trying to write a computer program to do that, so can not give the exact syntax since I do not know what language is being used. However, these are the steps you must follow to convert .90909009 (or whatever) so its 55 seconds. 60/5.5 = 10.90909090 — calculate: 10.90909090 – INT (10.90909090) — Where INT (in MS-Excel, for example) is a function that rounds a number down to the nearest integer. Now you should have the decimal part of number so do the following calculation: 60 / [10.90909090 - INT (10.90909090)] – This should give you 55, when rounded to zero decimal places. Hope this is what you are looking for.
[affmage source="ebay" results="6"]treadmill mile pace[/affmage]