【问题标题】:Is there an equivalent of parseInt() in Google Closure?Google Closure 中是否有 parseInt() 的等价物?
【发布时间】:2017-02-10 05:50:27
【问题描述】:

我想使用 Google Closure Library 中提供的所有好东西。其中一些不是那么方便。例如 goog.date.Date 不能很好地兼容 JavaScript 的自然 Date()。

我想知道是否有类似 parseInt() 的东西可以将字符串解析为数字。我检查了goog.math,但找不到。

【问题讨论】:

    标签: javascript google-closure-library


    【解决方案1】:

    【讨论】:

    • 感谢 EpicOrange!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-07-29
    • 2013-06-21
    • 2014-01-09
    • 2012-02-18
    • 2014-05-02
    • 1970-01-01
    相关资源
    最近更新 更多