简体   繁体   中英

Is there an equivalent of parseInt() in Google Closure?

I want to use every good thing that is provided in Google Closure Library. Some of them are not that convenient. For example the goog.date.Date is not well compatible to JavaScript's natural Date().

I wonder if there is something like parseInt() that parses a string into number. I checked goog.math but cannot find one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM