Hi community,

i have a javascript expression to evaluate which produces as output a double value.

var a = (((Input_A*0.23)/1000)*1.1);

if (a < 40.00)

a = 40.00;

var result = (a *((100-discount_a)/100) * ((100-discount_b)/100));

result

Given that Input_A = 1500000

dicount_a, discount_b = 0

The expected result should be 379.5 but the online simulator returns 379.50000000000006

How can I fix this?

Kind regards