<script type="text/javascript"> var test=213.73145; document.write(test.toFixed(3)); </script> <!-- output 214.731-->