Perhaps you need to review your textbook for information about functions, taking special notice of the return value.
With all of your functions you told the compiler they would be returning an int, therefore the compiler implicitly converted your doubles to int in order to return the type of variable you wanted.
1 2
int inchesToMeters(double inches2) // Returns an int.
double inchesToMeters(double inches2) // Returns a double.