Random number generator querys in java?
<p>I have a random number generator but would like to make it so that every time it gets asked to generate a number, the old number and that number difference would be shown as a percentage.</p>

<p>So basically if there is the number 50 and the next number is 100 then it would show an increase percentage of 100% or whatever it is? </p>

<p>How do I do this?</p>
