Edit This Code:
See Result »
The toPrecision() method returns a string, with a number written with a specified length:
Result: