Javascript - Integer

1 - About

Integer aren't implemented in javascript, only double exists. See Javascript - Number (Double)

With integers, you have to take care that all calculations fit within the range between –2^53 and 2^53, but you don’t have to worry about rounding errors.

3 - Be careful

There is no integer in a javascript.

var myNumber = 0.1 + 0.2 

console.log("myNumber is not 0.3 but " + myNumber) 

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap