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.
Is this what you are looking for? https://google.github.io/closure-library/api/goog.string.html#parseInt
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.