編輯代碼:
查看結果 »
試一試 - ©
w3ii.com
The toPrecision() method returns a string, with a number written with a specified length: