[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 529
  • Last Modified:

How to format french currency in XSL ?

I need to format amount in French format using
<xsl:decimal-format name="FrenchDecimalFormat" decimal-separator="," grouping-separator="&#160;"/>
<xsl:value-of select="format-number($amountvalue,'##&#160;##0,00 $', 'FrenchDecimalFormat')"/>

input value:34652.23
output value:34Â 652,23
Expected output:34 652,23
1 Solution
RamyaRajAuthor Commented:
   use  grouping -separator as &#13 which is used for space.
 <xsl:decimal-format name="FrenchDecimalFormat" decimal-separator="," grouping-separator="&#13;"/>




Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now