-snip-
Rounding Decimals to the Nearest Whole Number.
MagicNumber - 1 = 4294752546, dTemp = 9999.49999852, RolledNumber = 9999.
MagicNumber = 4294752547, dTemp = 9999.50000085, RolledNumber = 10000.
Conclusion. There are only 214749 numbers for which a rolled number will be 10000.
The first suitable number is 4294752547.
WIN CHANCE is 0.005000 % per each roll.
What is this?
Script maybe, or whatever the most important is, i still got bitcoin with free roll