Skip to Content
Former Member
Jun 02, 2016 at 05:36 PM

How to remove brackets from Price Data Object when the value is negative .


I have a scenario where price data object has negative value . In such scenarios formatted value is returning value with braces for e.g ($100) .is there any possibility of not having this braces ?

For a -9999 value which is converted to priceData object , current output: ($9,999) for negative value expected output: -$9,999