• rmahanta
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Need some help re one Data formatting issue.

As per the requirement , I need to display some of the number and currency field values as shown below.

Display Option 1 : 1,000,000,000
Display Option 2 : 1.000.000.000

I am able to display as Option 1. However the same code does not work for Option2.

sample code :
------------------------

Display Option 1 : 1,000,000,000 .
This is working fine with the below code

<td class='bold border'>

<apex:outputText value="{0, number , ###,###,###,###}"><apex:param value="{!cc.Total_carbon_savings__c}"/></apex:outputText></td>


Display Option 2 : 1.000.000.000

above code does not work for this option 2.
Error: The number format pattern for <apex:outputText> is invalid.

Any idea? 

Thanks in advance :)

It is image (<apex:image> or <img>) in Visualforce page. When I tried render it as pdf, image is corrupted (image doesn't load...). It's bug??

 

How to insert external image in VFP that render as pdf??