Sometimes we have to format the currency field based on user need. Here is code snippet which will help you to format the value.
<apex:outputText value="{0, number, ###,##0.00}">
<apex:param value="{!objectref.fieldname__c}" />
</apex:outputText>
<apex:outputText value="{0, number, ###,##0.00}">
<apex:param value="{!objectref.fieldname__c}" />
</apex:outputText>
No comments:
Post a Comment