Absolute
Syntax
Absolute
Parameters
None.
Description
Calculates the absolute value of the result from an immediately preceding Minus command, ensuring the result is always positive or zero.
Remarks
This command is used almost exclusively for prediction races, where you want to find the difference between a predicted time and an actual time, regardless of which was faster. It must follow a Minus command block. The final Sort will then correctly rank finishers by the smallest (closest) difference.
Examples
To list predicted time, actual time, and the absolute difference, sorted by the smallest difference:
Event PREDICT
Event TIME
Event TIME
Minus PREDICT
Absolute
Sort