Hi @Peter Volz ,
Since 1~100 corresponds to 0~9 in your previous description, the code I provided is 1~10 corresponds to 0, 11~20 corresponds to 1, and so on.
You can remove -1
from the code so that 0~9 corresponds to 0, and 10~19 corresponds to 1.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.