You need to sign in to do that
Don't have an account?
VarunC
Currency Field Value with minus sign
Is there any way around so that I can display a Currency
Field value with a minus sign if Currency value is negative?
Currently
an <apex:inputField> with Currency Field will display a negative
amount with brackets around it like this: ($100.00), I would like
to display this value like this: -$100.00
Change your field from currency to number, then display on page as outputtext and apply formatting.
Here is the Link (https://developer.salesforce.com/docs/component-library/bundle/lightning:formattedNumber/example#lightningcomponentdemo:exampleCurrencyFormatting)
* You cannot insert a minus sign in a Currency Field.
* If you want to add a minus sign change your field's Datatype to number
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com