Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP Math error
Using SRP Math to add numbers, and it is truncating trailing zeros.
See example, value in PART_TOTAL was 600000000, which resulted in a value of 6.
I changed in the code to 600010000 to test, and the result was 60001
I downloaded the latest 2.01 version just to check and this was the same.
A bit worried now, will have to revert to the normal OI math.
See example, value in PART_TOTAL was 600000000, which resulted in a value of 6.
I changed in the code to 600010000 to test, and the result was 60001
I downloaded the latest 2.01 version just to check and this was the same.
A bit worried now, will have to revert to the normal OI math.
Comments
Was that RC6 already available, or was this a new issue?
Also, do you have any test scripts that you run on the maths functions, as its pretty critical that we have confidence.
It works so I am happy to release.