Titik mengambang di JavaScript

function strip(number) {
    return (parseFloat(number).toPrecision(12));
}
Handsome Hummingbird