50 cents is 0.50 dollars, thus the amount is rounded up because the first digit after the decimal point of 0.50 dollars is more than 4.