This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Calculation with Float and elapsedDistance


var x = info.elapsedDistance *1000;

Gives an "UnexpectedTypeException: Expected Number/Float/Long/Double, given null/Number"

* 1000f or 1000.toFloat() does not work either

Is there a description of how correct number handling. (for speed I will then need a division of floatss (or doubles?)

Thanks