How to randomize realtime values in SV/UVM

In reply to poonamnlwd:

can I do like before randomize use integer and after randomize convert it into real?
But will get values which I want like 3.8,15.2 in driver?