Method one results in two conversions from integer to double, one double addition, and one double division.
Method two results in a conversion from integer to double, an integer addition, converting the integer result to double, and one double division.
It's fairly likely that the compiler will optimize two identical conversions of integer to double in method 1. I don't believe that a compiler will ever optimize the first method down to the second one, due to integer overflow-related issues, so I'll just assume a reasonably intelligent compiler that can execute the obvious optimization.
So we have:
- Convert integer to double
- Double addition
- Double division
Versus:
- Convert integer to double
- Integer addition
- Convert integer to double
- Double division
So the difference between the two methods reduces to a double addition operation versus integer addition and conversion of integer to double.
Regarding "which one is faster": the difference is not directly comparable, so this will depend entirely on whichever CPU is going to execute this. I don't know of any empirical evidence that all CPUs will handle one or the other set of operations always faster than the other one.
Regarding "which one is better": the better approach is the one that you think is more readable, and maintainable. That's because whichever approach turns out to be faster in practice, the "faster" part will so insignificant, on modern CPUs, that it can be practically ignored, and the remaining factor to consider is simply readability and maintainability; and insofar which one of the two approaches is more readable or maintainable, this is going to be purely a matter of one's taste.
Unless, of course, one has to implement something like this in certain very narrow, tailored, situations where every nanosecond matters, and a huge pile of money depends entirely on the proposition that "faster=better". In which case the only way to obtain the answer is to rigorously benchmark the execution profiles of both methods on your target hardware platform, and figure out by yourself which one is "better".