• Victor Gatnicki
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
I have an overridden standard 'New' button in lightning with my custom component but when I am using it from the related list of the parent object, I am not getting parent record id in the URL. Also, 'hasRecordId' is giving Id of the child record only. Any Solution for this??

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