When you commit the Gift Batch you can select one of two options on the Payments Tab of the Commit Gift Batch screen:

Create Gift With Remainder

OR

Create An Exception(do not commit the payment)

The other option is to modify the amount of the gift in the batch before committing, if needed.