Friday, 4 March 2016

How to format the Currency/number field ?

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>

No comments: