numeric

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendZeroInt

func AppendZeroInt(value int) string

func F64ToString

func F64ToString(num float64) string

func F64ToStringDyn

func F64ToStringDyn(num float64) string

func FillNumberString

func FillNumberString(size int) []string

func FillValue

func FillValue[T any](record int, value T) []T

func FillZeroFloat32

func FillZeroFloat32(size int) []float32

func FillZeroFloat64

func FillZeroFloat64(size int) []float64

func FindInt

func FindInt(a []int64, x int64) bool

func FindIntPtr

func FindIntPtr(a *[]int64, x int64) bool

func Format2Digit

func Format2Digit(num float64) string

func I64ToString

func I64ToString(num int64) string

func IsDigit

func IsDigit(s string) bool

func JoinInt64

func JoinInt64(source []int64, sep string) string

func MoreThanZeroFloat64

func MoreThanZeroFloat64(value float64) bool

func ParseFloat32Safety

func ParseFloat32Safety(num string) float32

func ParseFloat64

func ParseFloat64(num string) (float64, error)

func ParseFloat64Safety

func ParseFloat64Safety(num string) float64

func ParseInt

func ParseInt(num string) (int, error)

func ParseInt64

func ParseInt64(num string) (int64, error)

func ParseInt64Safety

func ParseInt64Safety(num string) int64

func Rand

func Rand(min float64, max float64) float64

func SumFloat64

func SumFloat64(numbers []float64) float64

func ToFloat64

func ToFloat64(value interface{}) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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