Question
ING Bank
NL
Last activity: 30 Jan 2018 5:13 EST
Queries regarding Monte Carlo Data set
Hi Team,
I'm exploring Monte carlo data set to see if we can generate test data as per our needs. We usually use GenRockit to generate such test data. I'm not able implement few requirements via this data set.
1) Area code - It should be randomly selected among 510, 408, 416 .I have tried Options.optionsCSV(Text). But didn't work as these are integers.
2) Mobile number - It should be a random number generated in the format XXX-XXXX (e.g. 257-9011). I couldn't find a way to do that.
3) Conditionally generate Random Integers in Range - I have used this expression, @If(InternationalPlan=="Yes",@random(10,50),@random(0,30)). But the random number generated is a decimal with almost 8-9 digits after the decimal point. Is there a way to generate random integers with in range conditionally? or decimals with limited digits after decimal point.
Thanks,
Vamsi.