Skip to main content
Question

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

  • Apr 11, 2023 6:37 AM UTC
  • 3 replies
  • 55 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
  • Apr 11, 2023 8:21 AM UTC

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+23
  • Safer
  • Apr 11, 2023 3:44 PM UTC

Or use 

@rand() + 1

in the Arithmetic Editor.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Apr 12, 2023 9:01 AM UTC

prashanth , pls check this fme