How can I change the CSV output such a way that it removes the trailing zeros and does not use exponential notation (without explicitly using Decimal(18,2) data type)?
Follow the below steps to get the expected output:
Step1: Please try using the following expression to achieve the expected results.
replace(toString(toDecimal(Data)),'.00','')
Step2: I have used the same sample data that you provided.
Step3: Use the following expression in the derived column as required.
replace(toString(toDecimal(Data)),'.00','')
Step4: Output is as expected as per your requirement.