how to change a int into a double in c code example Example: int to double c int vIn = 0; double vOut = (double)vIn;