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
MriduMridu 

number format

how to use numberformat  for currency in apex class

Pradeep_NavatarPradeep_Navatar

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.

MriduMridu

Thanks

But its not working for more than 10,000.00

ie for 1,00,000.00.Any solution