pace500ToMile
pace500ToMile(
pace500Seconds):number
Defined in: console-sdk/src/units/index.ts:160
Converts a pace of seconds-per-500m to seconds-per-mile with firmware-parity truncation.
Replicates app_motion_pace1000m_to_MILE, which works in integer
milliseconds: the 1000m pace is truncated to whole milliseconds (the
firmware’s uint32_t storage), divided by MILE_TO_KM_FACTOR, and the
quotient truncated again (the firmware’s cast back to uint32_t).
Parameters
Section titled “Parameters”pace500Seconds
Section titled “pace500Seconds”number
Pace as seconds to cover 500m.
Returns
Section titled “Returns”number
Pace as seconds to cover one mile, truncated like the console.