What am I missing?
float stepSize = 0.0f;
int activeCircleRadius = 10;
int numSteps = 24;
AiLog.v(\"init activeCircleRadius \" + activeCircleRadius + \" numStep
With all arithmetic operators in Java, the result has the type of the largest operator. For instance:
- float operator long => float
- int operator int => int
- int operator long => long
float stepSize = 0f;
float activeCircleRadius = (float) 10.0;
int numSteps = 24;
stepSize = activeCircleRadius / numSteps;