double to Double getCost conversion