# QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save \$300 before February 6: REGISTER NOW!
cancel
Showing results for
Did you mean:
Creator II

## Logic to generate number from 50.00 to 99.99.

Hi,

Please provide the logic to generate numbers from 50.00 to 99.99.

6 Replies
Specialist III

hello

something like

for i=5000 to 9999

let nb=i/100;

next i

Partner - Contributor III

Hi you can use rand() function it gives random values between 0 and 1.

You can write

50+Rand()*50

Regards,

Devyanshu

Specialist II

Hi,

to generate random numbers ?

if so :

50 + rand()*50

regards

Partner - Specialist

50000+RECNO() AS Nr

AutoGenerate(10000-5000);

What purpose you used this? May be like

LOAD Num(RowNo() + 49.00,'##.00') as Field

AutoGenerate 50;

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
MVP

That depends on your number step. Try the below code where you can even set your step:

Let vStep=0.1;