MakeCode for the micro:bit update is coming soon. Part of the update is floating point support. Existing MakeCode website supports only integer division which means
1/2 = 0
With this update 1/2 = 0.5
Action for you:
We have automatically detected this package uses division operator. Please take one of the following actions
If the change to floating point division doesn't matter you can ignore and close this issue.
If you want integer division then update your package typescript code to use integer division. Change a/b to Math.idiv(a, b)
MakeCode for the micro:bit update is coming soon. Part of the update is floating point support. Existing MakeCode website supports only integer division which means 1/2 = 0 With this update 1/2 = 0.5
Action for you: We have automatically detected this package uses division operator. Please take one of the following actions
You can test your package on the update here: https://makecode.microbit.org/beta
All the details on the update: https://makecode.com/blog/microbit/v1-beta
div found in CurrentBestmain.ts