Documentation ¶
Index ¶
- func Abs(number float64) float64
- func BaseConvert(number string, frombase, tobase int) string
- func Bindec(str string) int64
- func Ceil(value float64) float64
- func Decbin(number int64) string
- func Dechex(number int64) string
- func Decoct(number int64) string
- func Floor(value float64) float64
- func Hexdec(str string) int64
- func IsEven(number int) bool
- func IsNan(val float64) bool
- func IsOdd(number int) bool
- func Max(nums ...float64) float64
- func Min(nums ...float64) float64
- func Octdec(str string) int64
- func Pi() float64
- func Rand(min, max int) int
- func Round(value float64, precision int) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseConvert ¶
各种进制互转 BaseConvert("12312", 8, 16)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.