Jump 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.

Evaluating math expressions in field

Featured Replies

  • Newbies

I'm looking to create a field in an invoice solution that will parse and evaluate math expressions on the fly. For example, I would like to be able to enter in the "Quantity" field, an expression such as 19+123, or 37.56/7, and have the field automagically convert it to the appropriate result. Any ideas on how to do this? Is there a custom function or plug in for this?

Thanks much,

George Page

seabreezefarm.net

You could use the Evaluate() function for this. However, you need to provide for user entering a non-valid expression.

  • Author
  • Newbies

You could use the Evaluate() function for this. However, you need to provide for user entering a non-valid expression.

Nice! That works great. Is there a generic provision for evaluating the non-valid expressions?

See;

http://www.filemaker.com/11help/html/func_ref3.33.14.html#1028187

http://www.filemaker.com/11help/html/func_ref3.33.5.html#1027784

  • 3 months later...

I'm making a DB that you can put a formula into and it will evaluate it, the only problem was I did'nt have any way to see if it was valid this helped a lot.

:thankyou2:

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.