amended return

I filed an amended form because the $5000 I deducted for 2018 was applied by the bank to 2019.  The amount on the amended form shows $5040.  Why the difference.