search

Home  >  Q&A  >  body text

Questions about the JavaScript Number object lesson

When using the toPrecision() method, such as var c=Number("0.5") c.toPrecision(1)

The result is 0.5, in which case the length of the number is 2, What's the reason for this?

从小不*床从小不*床1885 days ago1310

reply all(0)I'll reply

No reply
  • Cancelreply