Blog2018 ≫ My bad maths to blame for my variable running pace

Figured out why my running pace was so erratic, it was my bad maths after all. Boring, but I was rounding, rather than flooring, to turn the seconds into whole minutes... so I turned 290 seconds into 5 minutes and 50 seconds, rather than 4 minutes and 50 seconds.

My code is up here1, and I've fixed it now.

⬅️ :: ➡️

Paul Clarke's weblog - I live in A small town, Kent. Wed to Clare + father to two, I am a full stack web engineer, and I do javascript / nodejs, some ruby, python, php ect ect. I like pubbing, running, eating, home-automation + other diy stuff, history, genealogy, TV, squirrels, pirates, lego, + TIME TRAVEL.