divide int and float c code example
Example: C float division
// By default what '/' is doing is a simple euclidian division
// (The remainder is calculated with modulo '%')
// Casting both numbers to float will get you a nice decimal
float f = (float)a / (float)b