converting to percent
Posted: Sat Jan 12, 2008 5:31 pm
how do you convert transperancy into a percent out of one hundred,
like 0.01 = 1% and 0.47 = 47%
like 0.01 = 1% and 0.47 = 47%
var = transp*100;
sprintf(texthealth.text,"%d%%",Goober.health);