Flooring towards zero code clarity/maintainability

Change all occurrences of ~~ to a named function floorTowardsZero