Forum Discussion
lazo_ilijoski
5 years agoNew Contributor III
Maybe initially I didn’t understand well your issue.
You can use the following statement with regex:
"Input Value “+ ((parseInt($NTGEW) == parseFloat($NTGEW)) ? parseInt($NTGEW).toString() : (parseFloat($NTGEW).toString()+“0”).match(”(.*d?[1-9])0+$")[1])*
So, I did tests with few cases and got the following result:
And here is updated pipeline:
floatIssue_2020_10_08_v2.slp (5.2 KB)
Please let me know if this version works as expected.
/Lazo
Thank you for your solution indeed it worked.
Related Content
- 3 years ago
- 4 years ago
- 8 years ago