Standard library / math/big
big.RoundingMode
Selects how a Float rounds inexact operations. Expected stdout: 'ToNearestEven\n'.
Formal Syntax & Structure
go syntaxgo
type RoundingMode byteWorking Example
Example Snippetgo
package main
import ( "fmt" "math/big")
func main() { var m big.RoundingMode = big.ToNearestEven fmt.Println(m)}