Standard library / math/big
big.Accuracy.String()
Convert a rounding accuracy to its readable name. Expected stdout: 'Below\n'.
Formal Syntax & Structure
go syntaxgo
func (i Accuracy) String() stringReturn Value
string
Returns the result described above; see the example for the observed behavior.
Working Example
Example Snippetgo
package main
import ( "fmt" "math/big")
func main() { fmt.Println(big.Below.String())}