kendo parseNumber 对“NaN”做什么?
在哪里可以看到 Telerik 的 Kendo Angular parseNumber
函数的代码?
我似乎它解析 OK“Infinity”,但不解析“NaN”,转换为 null
...
为什么?以及如何解决这个问题?
Where can I see the code of the Telerik's Kendo Angular parseNumber
function?
I seems it parses OK "Infinity" but does not parse "NaN", transforming to null
...
Why? And how to fix that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过对代码的一些研究,关键点似乎在这里:
知道:
但是,我更喜欢使用
而不是
..null
NaNIt seems, after some research in the code, that the key point is here:
knowing that:
I would prefeer, however, that instead of
null
to haveNaN
..