[#83927858] Fixes error in how we calculate future cost.  Returns an integer now, so that all costs stored in the db are integers