Round number of blocks to an integer.
Check for block underflow.