lxconv

package module
v0.0.0-...-3edd922 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatTostr

func FloatTostr(floatstr float64, i int) string

FloatTostr 浮点数转换int卡类型

func Int64ToStr

func Int64ToStr(i int64) string

Int64ToStr 64位数字转换字符串

func IntToStr

func IntToStr(i int) string

IntToStr 数字转换字符串

func JsonEncode

func JsonEncode(data interface{}) string

JsonEncode json转字符串

func ParseInt

func ParseInt(val interface{}) int

ParseInt 字符串转换位int

func ParseInt64

func ParseInt64(val interface{}) int64

ParseInt64 字符串转换位int64

func StrToFloat64

func StrToFloat64(str string, i int) float64

StrToFloat64 字符串转换浮点数

func StrToInt

func StrToInt(str string) int

StrToInt 字符串转换位int

func StrToInt64

func StrToInt64(str string) int64

StrToInt64 字符串转换位int64

func ToFloat64

func ToFloat64(a interface{}) float64

ToFloat64 任意类型强转float64

func ToInt

func ToInt(a interface{}) int

ToInt 任意类型强转int

func ToInt64

func ToInt64(a interface{}) int64

ToInt64 任意类型强转int64

func ToString

func ToString(a interface{}) string

ToString 任意类型强转字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL