https://scratch.mit.edu/discuss/post/7746234/ への回答です。
https://scratch.mit.edu/projects/395183160 約分装置は@tsumuri3の上のプロジェクトを参考にしました。ありがとうございました。