Monthly Archive: July 2016

Not a Number in JavaScript

Not a Number in JavaScript

What is a Not a Number In my last post I was talking on how to use numbers in JavaScript. Now I want to talk about the notorious Not a Number invalid value. Also know as NaN. A Not a Number indicates that the value of a variable or the...

Numbers in Javascript

How to deal with numbers in JavaScript

We can deal with numbers in JavaScript in many ways. Lets look at the basics. The size of a JavaScript number In JavaScript a number is always a 64 bit floating point. There is no integer, nor decimal, nor bit. Only a 64 bit floating point. This precision follows the international...