If the value is less equal than 1000, just return.
If the value is less equal to 2000 and larger than 1000, the first time run 1000 and the second time run remaining.
For example, if the value is 8450, it needs to run 8 times for 1000, 1 time for 450.
Aucun commentaire:
Enregistrer un commentaire