Thread:SamwiseFilmore/@comment-30645975-20170115043219/@comment-25101690-20170115045556

The code looks cut off or incomplete. The final real is incomplete and the if in line 30 has no closing bracket before the else.

Beside that, how can prices be decimal numbers? Why bother with the 0.5?