want to calculate pourcentage of register 16 bits i do ike this but d'ont work with iar cc2530
uint16 T =5000;
uint16 tit = 50;
uint32 porcentage;
porcentage = (( tiit*T)/100)
the value of pourcentage is not 2500 :'( please i need help
i do that also d'ont work
float pou;
pou = tiit /100;
porcentage = pout * T ;
-----