Don't rely on Math.trunc always being there to save the day.