toPrecision in JavaScript

<script type="text/javascript" language="javascript">
<!-- //
function DisplayPrecision(){
    number = new Number(1200000000003);
    for (var i=1; i<8; i++){
        document.write(number.toPrecision(i));
    }
}
// -->
</script>