I'm working on a raffle type of application where I from a large number (for example 501671777605347765654683545076329840277643814449232517465433355128724646057578 ) would like to be able to convert it into a smaller number between for example 1-105.
The smaller number generated (let's say it turned out to be 74) must then continue to be generated into the same small number if it's done against the same large number, but if the application is fed a new large number then it would likely generate a new smaller number.
Anyone got any ideas how to successfully do this?
Aucun commentaire:
Enregistrer un commentaire