A way to fix this (if you need to is)
const number = 64 // Any Number including floating point
const power = 1/3 // Any Number including floating point
Math.pow(number, power)
-> 3.9999999999999996
Number(Math.pow(number, power).toFixed(5)) // Stops that bug while keeping tons of precision. You can change the value of the toFixed's parameter to increase or decrease precision