Sybase : How to select random number within a specific range?

Let’s say, I need a random number within a specific range, how do I do that?

Here’s the code that will do it: