int desiredQuality = call.arguments[@"desiredQuality"]; //BETWEEN 0 AND 1602
float calculatedQuality = desiredQuality/1602; //RETURNS 0
Log:
APP: this is the desiredQuality: 802
APP: this is the calculatedQuality: 0.000000
I tried changing calculatedQuality to int, or double, but I get the same result. What am I doing wrong?