Documentation ¶
Index ¶
- func Clamp(value float64, lower float64, upper float64) float64
- func ClampLower(value float64, lower float64) float64
- func ClampUpper(value float64, upper float64) float64
- func LeadingSignificantZeros(x float64, places int) int
- func Round(x float64) float64
- func RoundPlaces(x float64, places int) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClampLower ¶
func ClampUpper ¶
func LeadingSignificantZeros ¶ added in v1.6.22
func Round ¶
The Golang 1.10 math.Round implementation. (see: https://golang.org/pkg/math/#Round)
func RoundPlaces ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.