新增一个转换

This commit is contained in:
苏尹岚
2019-12-25 11:50:45 +08:00
parent 0260014f1e
commit 284a3e5bdc

View File

@@ -534,3 +534,7 @@ func IntSlice2Int64(intList []int) (outList []int64) {
}
return outList
}
func Int2Float64(i int) (f float64) {
return Str2Float64(Int64ToStr(int64(i)))
}