0

When I take the 5 root of a big number, js gives me a wrong answer

var pow = 5;
var A = 133;
var B = 110;
var C = 84;
var D = 27;
var E;

E = Math.pow((Math.pow(A, pow) + Math.pow(B, pow) + Math.pow(C, pow) + Math.pow(D, pow)), 1/pow);

console.log(E)

This should give 144 but gives 144.00000000000003
5 root of 61917364224 = 144

0 Answers0