(1/3).toFixed(3);//0.333
'xxxxx'.toFixed(3);//VM1669:1 Uncaught TypeError: "xxxxx".toFixed is not a function
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.