You need to sign in to do that
Don't have an account?
deepz
Avoid exponential values in numeric fields
Hi,
We have a page with a number field.if the number value is too large,it is getting displayed in exponential format...like 1.345e5.
Somebody please let me know how this can be fixed.
Thanks.
Hello DeepZ;
You can use the following syntax .(###,### represents the format of the output.)
Page:
<apex:outputText value="{0, number,###,####}">
<apex:param value="{!val}" />
</apex:outputText>
Method:
public Double getVal(){
return 123850000000000000.00;
}