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
ArunaAruna 

Decimal places are not displaying on visual force page <table ><tr><td></td></tr></table>---> Urgent

Hello there,

I need to display 2 different types of decimal place number one with one decimal like (300.4) and other with 2 decimal places like (192.56)
I did some search and I found below logic but still I am unable to display decimal places.
 
<apex:outputText value="{0, number, ###.##}">
     <apex:param value="{!amountVarienceValue}" />
  </apex:outputText>

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

Can please anyone just how to display decimal places on visual force page.

Thank you.
JaiChaturvediJaiChaturvedi
Use this,

<apex:outputText value="{0, number, 000,000.00}">
       <apex:param value="{!amountVarienceValue}" />
 </apex:outputText>

Hope this will work.