Hi to all,
I have a problem managing the multiple conversion of a value, to convert to decimal, keeping the (.) decimal and the 2 decimal places, even if they are = 00
I’m working on a flow where, I collect data from a CSV and need to create an XML.
I currently have a Read CSV and then an Import on DB.
The ‘ammout’ value on DB is set as Decimal, with two decimals.
The value on the CSV is integer.
ex: 80000 , I need to get this value: 800.00 as a string,
to paste into the final XML.
Can anyone help me in this mission impossible for me!
thanks
Aaron
This is a CSV I may receive to convert.
Even if it only contains one line.
I need to create an XLM starting from this CSV.
The BOT is already fully realized, but they told me only today that the amounts will have to be converted into decimals, as I indicated above.
the final XML must have the sum of all the amounts, (column I) in decimal.
and subsequently, in the rest of the body, the amounts of the individual lines, converted into decimals.
The decimal requires the two digits after the decimal point.
My bot starts with a Read CSV, and immediately after, an Inport DT to database.
Where the Amount field was expressed in Varchar, and now in decimal.
In any case, I can’t handle this conversion properly.
I don’t know why, but it gives me an error.
“F2” is not recognized as a command. (I believe)
I’m looking for alternative solutions… I’ll try to manipulate the value upstream, directly via DB with Queries.