Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to Random?

Featured Replies

Hello People!

It´s good to be back to the forum :)

I was looking around to see how can I random numbers from 1 to 20 in some fields and follow the classic random * ((maxnumber - minnumber)+1) and for sure I got the result the only problems is that I got a 0 (zero) and only need from 1 to 20 and for my surprise the formula is not giving me a 20 neither!!!!!!!

How can I resolve this problem, maybe It must be very basic maths but.... any help would be very helpful

Byeeee

Sincerely

BluiSh

Do you mean a random integer between 1 and 20 inclusive?

  • Author

Yes Indeed

I need a integer number between 1 to 20.

Thanks Your help would be very helpful

Sincerely

BluiSh

Try +

Int ( Random * 20 ) + 1

Note that the exact behavior of the Random function in some versions is not entirely clear. FileMaker,Inc. have posted various conflicting descriptions of the function regarding the possibility of Random returning either 0 or 1. This was fixed in the 10.0v3 update. In previous versions, there may be a VERY small probability of the calculation above returning 21.

  • Author

Thank you very much... Consultant

I´m testing it right now!!!!!!!

THanks

Sincerely

BluiSh

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.