You need to sign in to do that
Don't have an account?
Nicky Torstensson
Apex code in VisualForce: European currency format
Hi.
In short Apex displays currency as 111,222.33
I want the currency displayed as 111.222,33 (Danish currency format).
Searching the Internet yielded scarce results and no solutions.
I have tried
<apex:outputText value="kr. {0, number, #.###,##}">
<apex:param value="{!Account.total_oms_index_sidste_aar__c}"/>
</apex:outputText>
but this just gave me an error due to format pattern for the number being invalid.
Is there a solution to this problem? If so what is it?
In short Apex displays currency as 111,222.33
I want the currency displayed as 111.222,33 (Danish currency format).
Searching the Internet yielded scarce results and no solutions.
I have tried
<apex:outputText value="kr. {0, number, #.###,##}">
<apex:param value="{!Account.total_oms_index_sidste_aar__c}"/>
</apex:outputText>
but this just gave me an error due to format pattern for the number being invalid.
Is there a solution to this problem? If so what is it?
<apex:outputField value="{!Account.total_oms_index_sidste_aar__c}"/>
This resulted in 111.222,33 as was the goal.
All Answers
<apex:outputField value="{!Account.total_oms_index_sidste_aar__c}"/>
This resulted in 111.222,33 as was the goal.