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.

Featured Replies

  • Newbies

Has anyone figured out a way to get numeric formatting with CDML.

For example, a numeric field for currency in FileMaker is formatted to display as "$1,234.50". CDML displays it as "1234.5".

I know I can simply put the "$" in HTML, but I haven't found a simple way to get the two decimal places to display correctly.

[This message has been edited by REdSta (edited May 30, 2000).]

Yes. "Database publishing with FileMaker Pro on the Web" by Maria Langer (Peachpit Press) discusses preparing one's db to allow display of the decimal rounded and the $-sign inserted, though there is an error in her calculation algorithm. Following "...If(Round(Unit Price, 2)..." she uses ">", which will keep the "1" from appearing if the amount is "1,000". To fix this use "*" (Macintosh). I'm not sure, but I think with Windows you would use ">=" or "=>", but if you are a Windows user, you will know.

Hope you find this useful.

Peace

Keith M. Davie

I forgot to mention that (in addition to the error already mentioned) this book has perhaps the most inadequate index I've ever encountered. So with that in mind, you will want to look on page 317.

Peace

Keith M. Davie

In the reply, I don't know how the asterisk appeared, as it formated correctly as "less-than equals" (option-period Macintosh) when I wrote it.

Peace

Keith M. Davie

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.