I suspect you meant to write `Math.floor()` in your second example there? Personally, I just |0 to truncate (still faster in current benchmarks)
`|0` is a good trick, I'll have to remember that.
I wouldn't recommend using this unless you're trying to shove milliseconds in this type of operations.