How to convert inbound string data into decimal data inthe eDM
Dear community leaders,
Some data is coming from inbound transition in string format, but I need to dynamically insert this data for the relevant recipient in the eDM.
EX:

If there is no value in the decimal places (ie, 432,897.0000), it should be display the data by removing the decimal places - eg, 432,897 or 1,234,987.
If there is some value in the decimal places (ie, 432,897.5000), we keep two decimal places. Display the data into the decimal values. Eg, 432,897.50 or 2,654,684.90.
Advanced
thanks