int untuk mengapung c

float percentage;
percentage = (float)number/total * 100;
Marton