var a = 10/6; console.log(a); //The parseInt() converts the numeric string value to an integer value. output VM54430:2 1.6666666666666667
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter