Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
how to use numberformat for currency in apex class
Try the sample coe given below :
<apex:page standardController="Account">It is worth:<apex:outputText> value="{0, number, 000,000.00}"><apex:param value="{!Account.AnnualRevenue}" /></apex:outputText></apex:page>
Hope this helps.
Thanks
But its not working for more than 10,000.00
ie for 1,00,000.00.Any solution
Try the sample coe given below :
<apex:page standardController="Account">
It is worth:
<apex:outputText> value="{0, number, 000,000.00}">
<apex:param value="{!Account.AnnualRevenue}" />
</apex:outputText>
</apex:page>
Hope this helps.
Thanks
But its not working for more than 10,000.00
ie for 1,00,000.00.Any solution