+ Start a Discussion
srikanth julakantisrikanth julakanti 

generate random number using vf and controller

i want 2 knw how to generate random number using vf and controller plz can anyone suggest me syntax r ping some code advance thanks 2 all
Best Answer chosen by srikanth julakanti

All Answers

RamuRamu (Salesforce Developers) 
This post might help

praveen murugesanpraveen murugesan
This was selected as the best answer
Virendra ChouhanVirendra Chouhan
Hi Srikanth

There is a couple of ways to generate random number . you want to use Vf and Controller so here is Apex code so you can create a class with this code and call it in controller.


using a formula field to generate random numbers in Salesforce