how to do float division in 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