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.

Simple Validation

Featured Replies

This shouldn't be tough but its been a long day and I'm feeling a bit fried.

In a script using and if statement I need a calculation that will check to be certain that the contents of a number field end in either .00, .0, .25, .5, .50, or .75.

So and entry of 8.5 is valid and an entry of 8.3 isn't.

Its being used for timesheet entry. Thanks for any help anyone might have.

Int(field*4) = field*4

BTW the decimal portion of a number field will never end in zero. Or, I guess, it always ends in a bunch of zeroes.

Its being used for timesheet entry.

You might want to look at Rounding the Times instead of Lopping off the numbers, or forcing the user to re-impute the data until they get it right.

There are several Round Up time examples around, start by looking at the files available at John Mark Osborne site Here

  • Author

Works like a charm. Thanks very much. I really appreciate it.

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.