JSFiddle - React, Tailwind, and code Playground

by Zaheer Ahmed

JavaScript

var x1=323.24;      // Written with decimals
alert(x1+ ' is '+ typeof x1);
var x2=43;         // Written without decimals
alert(x2+ ' is '+typeof x2);
var x3=21e5;      // 2100000
alert(x3+ ' is '+typeof x3);
var x4=13e-5;     // 0.00013
alert(x4+ ' is '+typeof x4);