aa
This commit is contained in:
@@ -559,7 +559,7 @@ func Float32ToInt(f float32) (i int) {
|
||||
}
|
||||
|
||||
func Str2Int(s string) (i int) {
|
||||
return int(Str2Int64(s))
|
||||
return int(Str2Int64WithDefault(s, 0))
|
||||
}
|
||||
|
||||
func Float64TwoInt(f float64) (i int) {
|
||||
|
||||
Reference in New Issue
Block a user