0

Comma Between Numbers Example: 300000 to 3,00,000 Here is My code below:

<apex:outputText value="{0, number, #, ###}">
  <apex:param value="{!ROUND(number,0)}" />
</apex:outputText>
4
  • Have you checked this thread Apex:OutputText to Currency Format from String Wrapper
    – Mr.Frodo
    Commented May 17, 2019 at 5:07
  • Thanks for reply, it's not working fine
    – Heisenberg
    Commented May 17, 2019 at 5:30
  • 1
    not working fine or now working fine? If you solved it, add an answer
    – cropredy
    Commented May 17, 2019 at 17:13
  • not working fine, I want to split them currency value with a comma, Example 8527388 to 85,27,388 but below code splits the value like this 8,52,73,88. Apex Class: public Double total { get; set; } total = sum + gst; VF Page: <apex:outputText value="{0, number, #,##,###,##}"> <apex:param value="{!ROUND(total,0)}" /> </apex:outputText>
    – Heisenberg
    Commented May 20, 2019 at 10:02

0

You must log in to answer this question.

Browse other questions tagged .