This is my issue.
Math.Truncate(-18141235.58 * 100.0) / 100.0
o/p: -18141235.57
.01
difference is coming. I have tried solutions as on (Truncate Decimal number not Round Off) but doesnt work.
Issues resolves if I use 1000, but I want it to return 2 decimal places only, which might not be input value all time.
Math.Truncate(-18141235.58 * 1000.0) / 1000.0