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
Andrew Likens 6Andrew Likens 6 

Unexplained space in Opportunity Amount merge field in email subject

I am using a custom email template (HTML) and I am using the {!Opportunity.Amount} merge field in the subject. However, when the email is sent, the currency from the merge field includes a space after the comma, but not in the body of the email, which uses the exact same merge field. I have tried to Google to get answers, but I have found no one else with this issue. I don't know if it makes a difference, but my org has multi-currencies. Screenshot below. Any help/insight is greatly appreciated!

User-added image
jigarshahjigarshah
Andrew,

Have you checked if the value entered in the Amount field itself has a space? Morevoer, what kind of email template are you using - Html or Visualforce? Can you share the code for the same?