Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5544 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I actually just treied this, and it still isn't working.

For example, one of the numbers must be between 2-9. So I did this:

If(Int(Random*9)+2 ≥ 9;Int(Random*9)-2;Int(Random*9)+2)

But this generates everything -2 to 12!

I'm lost.

Posted

I'm not sure what you're trying to accomplish with your conditional statement.

Using your limits of +2 and +9 the formula referenced by comment reduces to:

Int ( Random * ( 8 ) ) + 2

This topic is 5544 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.