Javascript casts floating point numbers to integers without cause

后端 未结 2 1336
攒了一身酷
攒了一身酷 2021-01-21 07:41

I wrote a function that behaves differently depending on the numeric type of it\'s parameters. Integer or float.

Using some code from this question How do I check that a

2条回答
提交回复
热议问题