Get an amount in regex, at converting to double I lost the ","

Hi all,

When I get an amount using regex, if I log message the variable as string it appears correctly, for example 61,88. But if I convert to double the variable because I need to multiply, it converts 61,88 to 6188. So when I multiply the amout is incorrect.

Do you know how can I handle this?

Many thanks :slight_smile:

Hope below screenshot(Code) will resolve issue.

Hello @shaik_Azam,

Thanks for the reply, but I need the comma in the amount… When I convert from string to double, the comma disappear…

@Angel_Llull - Could you please check the result of below code at your end…


or this…