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 round a calculation?

Featured Replies

In a field I want to display a rounded up or down value that is the product of One field divided by another.

I do not see how to display the results field as a whole number or specify how many decimal places in the field.

WHere do I place the rounded function?

In Layout mode, select the field and choose Format > Number… > Format as decimal. This does not change the actual value, only the way it's displayed. To really round the result of the calculation, use:

Round ( Onefield / Anotherfield ; precision )

  • Author

Thanks the display rounding works and thanks.

But I am not sure where to put the function you described so the data in the Avg Steps Min is a whole number.

Round ( Onefield / Anotherfield ; precision )

This is what I want a whole number rounded up or down called Avg Step per minute

Time in minutes is a numeric number (10.25, 10.5, 11)

Where do I place this rounding function? I put it after the field calculation function and got a - could not find this function type error message

NS Total Steps / NS TIme Minutes

Round ( NS Avg SPM ; precision )

What is precision a zero whole number or decimal places?

Using your syntax

Round (NS Total Steps / NS TIme Minutes ; zero

I get a specified field cannot be found message.

This seems like a lot of work for something so simple. THey make connecting relational databased sooooo simple yet the simple stuff so complex. GRR

I'm afraid I don't quite follow your description. If you have a calculation =

NS Total Steps / NS TIme Minutes

and you want the result to be rounded to the nearest integer, change the formula to:

Round ( NS Total Steps / NS TIme Minutes ; 0 )

I don't think it can be any simpler than that.

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.