Calculation does not work with decimal

I thought so. Thanks.