i’m doing this sample operation:
Then return sum1+sum2+sum3 and the result should be 0. But the result is -4.16333634234434E-17.
what type are sum1,sum2,sum3 and sum this might be a problem with doubles or floats
you could try change them all to decimals but not sure if it will help
They are doubles
did you try changing them to the type “decimal” and did this help?
Done thanks now it works i’ll test it more