I find out that
let x = 305.9*50 console.log(x);
gives a wrong number 15294.999999999998 where it should be simply 15295! I tried that in node 14.17.0 and 16.14.1.
not honestly sure if this is a JavaScript Bug or I'm missing something here!