Hi, I've got a major problem.
The AS_STRING function used to work beautifully, but now it has gone mad.
Let me explain. I need to export to a .TXT file a numeric value for an external app. The external app needs the value to come in the following format '0000000000000' so if the product value is $ 10 000.00 then the export needs to be '0000001000000'
My Rule is as follows:
BO.ExportTXT=Product.Name+'~'+PAD_LEFT(REPLACE_PATTERN(AS_STRING(Product.Value*100),'.0',''),'0',13)
This used to work beautifully but now the export returns '000000001.E87' instead.
Please can someone help me as this is extremely urgent
Thanks
P.S. This is on v4.7