Convert string (negative number with parentheses) to double (number with "-" in front)

Hello,

How can I convert a string that represents a negative number with parentheses to a Double with a “-” in front?
(10,000.00) = -10,000.00

Thank you,
Marius

assign new variable(double) as cdbl(str_var)*-1 using assign activity

2 Likes

Thank you @Sourav_Anand,
It worked even without the * -1.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.