Jump to content
Server Maintenance This Week. ×

format-number function?


macdocmike

This topic is 5084 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 5084 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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