package zutils import "strconv" func ParseFloat(s string) float64 { f, _ := strconv.ParseFloat(s, 64) return f } func ParseFloatN(s string, bitSize int) float64 { f, _ := strconv.ParseFloat(s, bitSize) return f } func ParseInt(s string) int { f, _ := strconv.ParseInt(s, 10, 32) return int(f) } func ParseInt64(s string) int64 { f, _ := strconv.ParseInt(s, 10, 64) return f } func ParseUInt(s string) uint64 { f, _ := strconv.ParseUint(s, 10, 64) return f }