From http://www.w3schools.com (Copyright Refsnes Data)

JavaScript fixed() Method


String Object Reference JavaScript String Object

Definition and Usage

The fixed() method is used to display a string as teletype text.

Syntax

stringObject.fixed()


Example

Example

Display text as teletype text:

<script type="text/javascript">

var str="Hello world!";
document.write(str.fixed());

</script>

Try it yourself »


String Object Reference JavaScript String Object

From http://www.w3schools.com (Copyright Refsnes Data)