You need to sign in to do that
Don't have an account?
Output text attribute
Hi,
I was going through the Apex developers guide, but did not find what does this mean?
value="{0,number,currency}">
-------------------------------------------------------------------------------------------
<apex:page standardController="Account" renderAs="pdf">
<h1>Account Details</h1>
<apex:panelGrid columns="2">
<apex:outputLabel for="Name" value="Name"/>
<apex:outputText id="Name" value="{!account.Name}"/>
<apex:outputLabel for="Owner" value="Account Owner"/>
<apex:outputText id="Owner" value="{!account.Owner.Name}"/>
<apex:outputLabel for="AnnualRevenue" value="Annual Revenue"/>
<apex:outputText id="AnnualRevenue" value="{0,number,currency}">
<apex:param value="{!account.AnnualRevenue}"/>
</apex:outputText>
<apex:outputLabel for="NumberOfEmployees" value="Employees"/>
<apex:outputText id="NumberOfEmployees" value="{!account.NumberOfEmployees}"/>
</apex:panelGrid>
</apex:page>
Thanks,
Kaity
pls see the link: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputText.htm
Hope this helps.
Thanks,
Samba
All Answers
pls see the link: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_outputText.htm
Hope this helps.
Thanks,
Samba
Thank you , the share link is worthy.
-Kaity.