html tool

2021年7月14日星期三

转:jenkins pipeline string to integer

 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.

int value = "99".toInteger()

没有评论:

发表评论