Documentation ¶
Index ¶
- func Any2Double(v interface{}) (float64, error)
- func Double2Any(v interface{}) interface{}
- func Double2Str(v float64) string
- func MustAny2Double(v interface{}) float64
- func MustStr2Double(v string) float64
- func SliceAny2Double(vs []interface{}) ([]float64, error)
- func SliceDouble2Any(vs []float64) []interface{}
- func SliceFloat64Equal(v1, v2 []float64) bool
- func SliceFloat64EqualStrict(v1, v2 []float64) bool
- func Str2Double(v string) (float64, error)
- type Float64Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Any2Double ¶
func Double2Any ¶
func Double2Any(v interface{}) interface{}
func Double2Str ¶
func MustAny2Double ¶
func MustAny2Double(v interface{}) float64
func MustStr2Double ¶
func SliceAny2Double ¶
func SliceDouble2Any ¶
func SliceDouble2Any(vs []float64) []interface{}
func SliceFloat64Equal ¶
func SliceFloat64EqualStrict ¶
func Str2Double ¶
Types ¶
type Float64Slice ¶
type Float64Slice []float64
func (Float64Slice) Len ¶
func (x Float64Slice) Len() int
func (Float64Slice) Less ¶
func (x Float64Slice) Less(i, j int) bool
func (Float64Slice) Swap ¶
func (x Float64Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.