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.

format-number function?

Featured Replies

Working on my XML/XSL Filemaker project again and am wondering how to implement the format-number function to get currency format from Filemaker Data.

I understand the syntax of the format-number command, just not how to apply it to the field data coming from Filemaker.

This gives me what I want:

as it returns 12,345.67. But that's obviously static text.

Here's the XSL for the field I want to apply the formatting to:


 

So where do I put the format-number?

Thanks for any help!

Mike

Ahm... where IS the actual number?

  • Author

Well, the following code returns the number in my browserecord.xsl style sheet:


Well, the following code returns the number in my browserecord.xsl style sheet:


�l:text>

It's returning the field RSResults::STotalDisplay.

Just not sure where in the process I format the returned value.

Thanks,

Mike

I don't know how you managed to make your message invisible. Anyway, I told you I am not too familiar with CWP/XSLT, so the code looks a bit cryptic to me. I am guessing that:






should do the job, though I am not sure why





couldn't work just as well

  • Author

That definitely worked!

Thanks so much for your help.

Mike

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.