parseFloat(NUM_1) + parseFloat(NUM_2)
The sum modifies the result value adding some decimal digits not present in the original numbers.
parseFloat(“1.1”) + parseFloat(“22.14”)
Or simply: 1.1+22.14
The result is : 23.240000000000002
I searched in google and I saw that this is a common problem and a possible solution is to use BigNumber. Is possible to use it in C3? If yes, how? If not, have you an alternative solution to solve this kind of problem?