JSFiddle - React, Tailwind, and code Playground

by Trần Ngọc Minh

JavaScript

var num = 5.56789;
var n = num.toExponential();// n = 5.56789e+0