Code
-------------------------
a!localVariables( local!currencyValue: a!currency( isoCode:"USD", value:-152552.774, format:"SYMBOL", decimalPlaces:2, indicatorAlignment: "START" ), stripwith( local!currencyValue, "$" ) )
Output
--------------------------
"(152,552.77)"
I need the output as "152,552.77".Can some one help to rectify the code
Discussion posts and replies are publicly visible
Hi akhileshr0549 kindly please use this code.
a!localVariables( local!currencyValue: a!currency( isoCode:"USD", value:-152552.774, format:"SYMBOL", decimalPlaces:2, indicatorAlignment: "START" ), local!data:stripwith( local!currencyValue, "$" ), local!data1:split(local!data,")") ,local!data2:split(local!data1,"("), local!data2[2])