Skip to main content
Question

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

  • April 11, 2023
  • 3 replies
  • 11 views

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

egge
Contributor
Forum|alt.badge.img+14
  • Contributor
  • 102 replies
  • April 11, 2023

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


DanAtSafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 344 replies
  • April 11, 2023

Or use 

@rand() + 1

in the Arithmetic Editor.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 189 replies
  • April 12, 2023

prashanth , pls check this fme