macdocmike Posted May 20, 2010 Share Posted May 20, 2010 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 More sharing options...
comment Posted May 20, 2010 Share Posted May 20, 2010 Ahm... where IS the actual number? Link to comment Share on other sites More sharing options...
macdocmike Posted May 24, 2010 Author Share Posted May 24, 2010 Well, the following code returns the number in my browserecord.xsl style sheet: Link to comment Share on other sites More sharing options...
comment Posted May 25, 2010 Share Posted May 25, 2010 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 More sharing options...
macdocmike Posted May 27, 2010 Author Share Posted May 27, 2010 That definitely worked! Thanks so much for your help. Mike Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now