Question

How to generate values between 1 and 2 , it includes decimal values like 1.1,1.2


Hi Guys,

 

I need to generate values between 1 and 2 ,it includes decimal values like 1.1,1.2... Can anyone help me on this?

 

thanks and regards,

Prashanth


3 replies

Userlevel 1
Badge +11

What about the RandomNumberGenerator? This transformer allows you to set a minimum and a maximum value and also the number of decimal places.

Userlevel 1
Badge +11

Or use 

@rand() + 1

in the Arithmetic Editor.

Badge +3

prashanth , pls check this fme

Reply