Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
posted 8 years ago
That gives us something different from what I had expected; that will give an almost random number in the appropriate range, 0 to 99 inclusive.
I thought you meant d % 1 where d is a double number. That will of course only work within the range of precision of a double.