If you want either of those ConvertToMPH() functions to be called, then you need to write code that calls them. You have not done so. The compiler does not just magically call a function because you defined it.