The mac intel app needs to be turned into an executable. It won't run otherwise
I suggest you floor the whole numbers instead of rounding. It will avoid the issue of a number saying you can buy something while you can't.