• nsattish
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

How to remove trailing zero with decimal format for <apex:inputField>  and <apex:outputField>

Field Definition - Decimal - (10,5) - Five Decimal precision

Example :

Value : 5.01 - SFDC stores and displayed as 5.01000. I need to remove the trailing zeros. Actual value should be 5.01