using Toybox.Math; ThreeSecPwrArray.remove(ThreeSecPwrArray[0]); ThreeSecPwrArray.add(Pwr); ThreeSecPwr = Math.mean(ThreeSecPwrArray);
I'm trying to use the above code, but the simulator gives an error.
Error: Symbol Not Found Error
Details: Could not find symbol 'mean'
I changed Math.mean to Math.pow(Pwr,2) just to check and that works fine. Have I got the notation wrong?