some math function workarounds | ScratchStats