+ Start a Discussion
1111_forcecom1111_forcecom 

Format number decimal

Hi,

 

I try to display this number with the following format 1.750,00 How can I do for obtain this?

The values for a apex:pageBlockTable, in the column the values show with this format, but in apex:outputText not work.      

 

Please help me, I try this:

 

<apex:outputText value="{0,number,#.##0,00}">    
    <apex:param value="{!totalUsd}"/>
</apex:outputText>

 

Regards,

Vinita_SFDCVinita_SFDC

Hi,

 

Try this:

 

<apex:outputText value="{0,number,#.##0\,00}">    
    <apex:param value="{!totalUsd}"/>
</apex:outputText>

 

OR

 

<apex:outputText value="{0,number,#.##0\\,00}">    
    <apex:param value="{!totalUsd}"/>
</apex:outputText>

1111_forcecom1111_forcecom
Than you for the answer, but don't work. The error is: "El patrón del formato number de <apex:outputText> no es válido."
Avidev9Avidev9

 Try this out may be ?

 

<apex:outputText value="{0, number, ###,###,###,###0.00}">  
      <apex:param value="{!Account.Amount__c}"/>  
 </apex:outputText>  
1111_forcecom1111_forcecom
I need obtain COMA for decimal and POINT for thousands. Please help me.