I am trying to add $ and commas to a variable as I saw in a previous post. The amount is currently in a variable called INV_AMT. So, in my Variable Assignment block a put:
(INV_AMT).toLocaleString("en-US", {style:"currency", currency:"USD", maximumFractionDigits: 2})
The process flow, when run throws this error: Error evaluating expression: INV_AMT_W_COMMAS =
(INV_AMT).toLocaleString("en-US", {style:"currency", currency:"USD", maximumFractionDigits: 2});
It might just be a syntax problem, but I don't see it. Your help would be most appreciated!
Thanks, Jeff
attachment shows screen capture of Variable Assignment block.