JSFiddle - React, Tailwind, and code Playground
by Alexey
JavaScript
let a = 24982748927498501;
let b = a+"";
//console.log(b.length)
if(b.length === 17) {
let с = b.slice(0,-2)
console.log(+с)
}
by Alexey
let a = 24982748927498501;
let b = a+"";
//console.log(b.length)
if(b.length === 17) {
let с = b.slice(0,-2)
console.log(+с)
}