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.

Calc fields aren't rounded when displayed on web

Featured Replies

Hi,

I've got some calculation fields that do some complex calculations to end up at a dollar amount. The calculation itself uses the Round() function to trim to 2 decimal spaces. And I have the number format set to 2 decimal places as well. All the numbers show up fine on filemaker layouts, but when I put them on a web page:

[FMP-Field: QuoteQty1Amount]

Some amounts show up with more than 2 decimal places. Is there a way to prevent this? Thanks,

The answer may in part rely upon the version of Pro which you are using.

Try [FMP-Field: QuoteQty1Amount, format]

If that does not work for you there is an answer in Langer's book.

  • Author

I'm using 5.5

and that seemed to do the trick, thanks for the quick reply/solution Unable.

The best undocumented syntax...Also you can use calc text field

Re: The best undocumented syntax..

Right after I posted I thought I should have mentioned the source to this forum - Anatoli.

I wonder how many times this solution has appeared here since you first posted it big A. Seems like every couple of months at least.

Yes I was posting it, but the full credit belongs to that genius in Mexico!

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.