JSFiddle - React, Tailwind, and code Playground

JavaScript

var entier = parseInt('7198') / 1000;
console.log(entier);