jeudi 25 avril 2019

How to find the next multiple of 5 greater than a given number

If the difference between a number N and the next multiple of 5 is less than 3, round up N to next multiple of 5. How do I put this into javascript conditional statement?

Aucun commentaire:

Enregistrer un commentaire