Handles zero and negative numbers