Randomization of non-integers

Hi,
How can we generate randomized values for non-integers like real/shortreal/realtime?

You will have to randomize integer values and scale/cast them into real values.

In reply to dave_59:

Thanks dave_59.

When a randomized integer value will be scaled/cast into real, the answer will be like integervalue and having zeros as the decimal point values. Ex… if we get 5 as random integer and it will be scaled to real, then answer will be like 5.0
How Can i get random values on the decimal side also?
Can you please give any short example.

In reply to omagra:

Divide it (scale) by 10.0 and you’ll have 0.5.