package
Version:
v1.0.79
Opens a new window with list of versions in this module.
Published: May 12, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Round returns the nearest integer, rounding half away from zero.
Special cases are:
Round(±0) = ±0
Round(±Inf) = ±Inf
Round(NaN) = NaN
Copied from the Go standard library's (Go 1.12) math/floor.go for use in
Go version prior to Go 1.10.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.