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.

Setting the No. of Dec. Places when Result Contains Exponent

Featured Replies

I usually use a FileMaker custom function called ScientificNotation to round results containing a power of 10 exponent to a certain number of decimal places. However, this can be inconvenient to use at times. I'm still on FileMaker 7 Developer, and I have access to FileMaker 8.5 Advanced. But neither of these versions has an easy way to set the number of decimal places for a result containing a power of 10. I don't know if versions 9, 10, or 11 does.

Example: I would like 3.122411775e-8 (the calculation result) to be displayed as 3.1224e-8. Attempting to use the "number" layout formatting does not help at all. Of course, I can use ScientificNotation but it can be tedious to use when there can be many possible output results for a field, as in a large case statement.

There has been no change in the ways a number can be formatted.

Of course, I can use ScientificNotation but it can be tedious to use when there can be many possible output results for a field, as in a large case statement.

It shouldn't be:


Let ( 

result = Case ( 

...

) ; 

ScientificNotation ( result ; 4 )

)

  • Author

Ah, I see what needs to be done--instead of Case being by itself in the solution part of Let, set result = Case in the variable definition part of Let and then use the ScientificNotation fuction in the solution part of Let on the variable result. Thanks, Comment.

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.