Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的值是 56.024096385542165,我想要点之前的数字。(在这种情况下,它是56)。
如何使用 JavaScript 做到这一点?
做就是了
parseInt(yournumber, 10)