float scale;
int x = 7, y = 2;

scale = x / y;