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
TaddTadd 

Custom Field Has Decimal Value Set to "0" But VF Page Returns ".0"

{!Inventory__c.KW__c} returns 1000.0 for example. I checked the settings for the custom field "KW__c" and the decimal place option is set to zero.

 

How can I remove the decimal?

Best Answer chosen by Admin (Salesforce Developers) 
TehNrdTehNrd

Perhaps this...

 

<apex:outputField value="{!Inventory__c.KW__c}"/>

 

 

 

Message Edited by TehNrd on 05-07-2009 11:49 AM