function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kent ManningKent Manning 

How do I use the Java Message Format to format European currencies in Visualforce?

I have a quote visualforce page that is rendering as a PDF.  Our offices in Germany and the UK would like to start using the quoting functions, but one of the requirements is that the currency fields display properly.  Here is an example of the code from the Visualforce page:

 

 <apex:column headerValue="Price Extension">
                <apex:outputText value="{0, number, £### ### ##0.00}">
                    <apex:param value="{!item.TotalPrice}"/>
                 </apex:outputText>
            </apex:column>

 The only problem is my Quote "Total Price"  does not format properly.  The output is £42,900.00 when it should be £42.900,00 - Note the position of the comma and period.  Is there any way to get this to work for Europe?  If the Java Message Format will not work, how would i go about getting the price fields to be formatted properly?

 

Any suggestions or help would be appreciated.