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.

Rounding Up to Nearest Quarter

Featured Replies

I found this example below on FileMaker forums. Instead of rounding down all the time I would like it to round up or down based on the value. Any suggestions on how to do that?


The following calculation formula will round any number down to the nearest quarter decimal (.00, .25, .50 or .75). For example, the number ...

123.10...would return 123.00. These examples would also follow:

.27 -> .25

.52 -> .50

.86 -> .75

15.98 -> 15.75

25325.98756323 -> 25325.75

157.02 -> 157.00The integer values do not change.

Here's the formula, assuming you have a field called Number:

Int(Number) + Choose(Int(Mod(Number, 1) /.25), 0, .25, .50,.75)

"I would like it to round up or down based on the value."

Based upon the value how? We need the specific rules on the point where it should round up or down. :-)

Try =

.25 * Round ( 4 * Number  ; 0 )

This doesn't fit your topic title, though.

Create an account or sign in to comment

Important Information

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

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.