package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Nov 27, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Max(nums ...interface{}) Number
func Min(nums ...interface{}) Number
func New(v interface{}) Number
func Sum(nums ...interface{}) Number
func Unify(nums ...interface{}) []Number
Convert all numbers in same precision numbers.
Invalid numbers will be filtered out.
type Precision interface {
IsValid() bool
IsNaN() bool
IsInt() bool
IsFloat() bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.