JavaScript has only one type of numbers.
Numbers can be written with, or without decimals:
Example
var x1 = 42.00; // Written with decimals
var x2 = 42; // Written without decimals
Example
var x1 = 29.00; // Written with decimals
var x2 = 29; // Written without decimals