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
Rich R.Rich R. 

Field Set and Formula Fields (Currency or Numeric)

We're using FieldSets to control the fields displayed on a VisualForce page. The output of the page is PDF. For some reason all currency and number fields are displaying in sceintific notiation. 

 

For example:

 

 86,558,710

 

displays as 

 

8.655871E+8

 

Is there anyway to control this? I've tried outputting as text which actually works however there are no commas to seperate the number up. 

 

 

Chi-Towns FinestChi-Towns Finest

Try using this:

 

<apex:outputText value="{0,number,$##,###,###.00}">

     <apex:param value="{!'insert variable here'}" />

</apex:outputText>

 

I hope this helps!

 

Rich R.Rich R.

I don't think that is something I can specify within a field set can I? 

aballardaballard

How are you displaying the value now?   If you use apex:inputField it should get formatted correctly.