+ 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