You need to sign in to do that
Don't have an account?
John Angerami 16
Format Currency in Slack Post
I am trying to create an Apex Class/Process Flow that posts on Slack when an Opportunity is closed won.
The amount is not populating correctly and is coming as '10000' opposed to $10,000'.
The amount is not populating correctly and is coming as '10000' opposed to $10,000'.
public class Oppty { @InvocableVariable(label='Opportunity Name') public String opptyName; @InvocableVariable(label='Stage') public String stage; @InvocableVariable(label='Opportunity First Name') public String opptyFirstName; @InvocableVariable(label='Opportunity Last Name') public String opptyLastName; @InvocableVariable(label='Opportunity Amount') public Decimal opptyAmount; }
http://salesforce.stackexchange.com/questions/318/what-is-a-concise-function-that-formats-a-string-decimal-into-a-currency-forma