If you want a double from the division of the int's, you need to specify you are doing floating point math by casting the num/denom to double types
double d = a/(double)b;//assuming a and b are...
Type: Posts; User: copeg
If you want a double from the division of the int's, you need to specify you are doing floating point math by casting the num/denom to double types
double d = a/(double)b;//assuming a and b are...