let x = "5000.25";
let num = Number(x);
document.write(Number(num));
document.write("<br>");
document.write(typeof num);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.