Joined November 2013
·

John Iacoviello

Programmer / Designer / Animator at Volygon
·
Canada
·
·
·

You're adding decimals together, not multiplying them.

For multiplication the code would need to change to:

return ( (val1 * 10) * (val2 * 10) ) / 100;

Achievements
19 Karma
0 Total ProTip Views