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.
ShowAll Questionssorted byDate Posted
anjisalesforce@gmail.com

# Can you please help for the Formula filed?

HI everyone,

My requirement is dispalying percentage(%) marks. I done my requirement but in percentage field it display like 60.89% but it dispalys after record saved like 6089.00%. Any one can solve this problem.

i taken one formula field that is Percentage__c in thhis field i want to display Percentage of the semester.

Already i created one read ony filed is TotalMArks__C.

My formula Expression code is :

Total_Marks__c / 7

Any one can please help this one...

Thanks for your helping...............

harshasfdc

Hi Anji,

please use the tag

<apex:outputtext value="{0, number,0,000\$}" label="Payout (\$):" id="amount" >
<apex:param value="{!rslt}"/>
</apex:outputtext>

if u ra showing in vf page

Thanks,

Harsha

BryanHart

Commonly 0-100% is from 0-1.0

if your formula resoves to 60.89, then it'll get interpreted as 6089%

if you want 60.89% then the result of your formula should be 0.6089

this makes math a lot easier...

200% * 50 = 2.00 * 50 = 100

Saikishore Reddy Aengareddy

use

Total_Marks__c / 700