富足,平衡,接受自己,三斗计划,享受心流的乐趣
https://stackoverflow.com/questions/1713481/converting-a-string-to-int-in-groovy
Use the toInteger() method to convert a String to an Integer, e.g.
toInteger()
String
Integer
int value = "99".toInteger()
没有评论:
发表评论